1
0
Fork 0
mirror of https://github.com/dawidd6/action-ansible-playbook.git synced 2025-04-22 07:43:35 +00:00

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"