mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2025-09-05 08:25:46 -06:00
main: use printf instead of echo
This commit is contained in:
parent
21dcba242b
commit
29be4251d2
2
main.sh
2
main.sh
@ -33,7 +33,7 @@ fi
|
|||||||
|
|
||||||
echo "options before: $options"
|
echo "options before: $options"
|
||||||
if test -n "$options"; then
|
if test -n "$options"; then
|
||||||
options="$(echo "$options" | tr '\n' ' ' | xargs)"
|
options="$(printf '%s' "$options" | tr '\n' ' ' | xargs)"
|
||||||
fi
|
fi
|
||||||
echo "options after: $options"
|
echo "options after: $options"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user