main: use printf instead of echo

This commit is contained in:
Dawid Dziurla 2020-04-07 00:42:22 +02:00 committed by GitHub
parent 21dcba242b
commit 29be4251d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ fi
echo "options before: $options"
if test -n "$options"; then
options="$(echo "$options" | tr '\n' ' ' | xargs)"
options="$(printf '%s' "$options" | tr '\n' ' ' | xargs)"
fi
echo "options after: $options"