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:
parent
21dcba242b
commit
29be4251d2
1 changed files with 1 additions and 1 deletions
2
main.sh
2
main.sh
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue