diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2019-12-08 09:18:53 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2019-12-09 09:03:10 +0000 |
commit | 95147987b49192e38fbeda23331bc951ff3358b3 (patch) | |
tree | 4c84cf175674b01ecc2df2351c1ab3b5b68a1444 /round-robin.sh | |
parent | 96a168181c9585599a7b73b2e7e741fe80d55d2c (diff) |
round-robin.sh: Try to fix print_updated_components() for 3'rd or 4'th time
Printf doesn't like format "-%s", which happens when delimiter is set to "-".
Try to use "echo -ne" instead.
Change-Id: I1c17dc9af9d4b2a88db7aacf251403d03ad13213
Diffstat (limited to 'round-robin.sh')
-rw-r--r-- | round-robin.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/round-robin.sh b/round-robin.sh index 43122edf..249bc43b 100644 --- a/round-robin.sh +++ b/round-robin.sh @@ -64,11 +64,11 @@ print_updated_components () local c for c in ${rr[components]}; do if [ x"${rr[${c}_branch]}" != x"baseline" ]; then - printf "${delim}%s" "$c" + echo -ne "$delim$c" delim=${1- } fi done - printf "\n" + echo ) } |