mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 22:43:50 +01:00
Merge pull request #6389 from gebart/pr/ci-output-whitespace
CI: fix whitespace handling in command output
This commit is contained in:
commit
90e85ca1de
2
dist/tools/ci/build_and_test.sh
vendored
2
dist/tools/ci/build_and_test.sh
vendored
@ -43,7 +43,7 @@ function run {
|
||||
OUT_LENGTH="$(echo -n $OUT | wc -c)"
|
||||
if (( "$OUT_LENGTH" > 0 )); then
|
||||
echo -e "Command output:\n"
|
||||
(echo $OUT | while read -r line; do echo -ne "\t"; echo $line; done)
|
||||
(printf "%s" "$OUT" | while IFS= read -r line; do printf "\t%s\n" "$line"; done)
|
||||
echo ""
|
||||
fi
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user