mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-11-22 15:32:18 +00:00
main: trim whitespace in options
This commit is contained in:
parent
6befc53422
commit
3f717ecb7e
1 changed files with 1 additions and 1 deletions
2
main.sh
2
main.sh
|
@ -32,7 +32,7 @@ if test -n "$directory"; then
|
|||
fi
|
||||
|
||||
if test -n "$options"; then
|
||||
options="$(echo "$options" | tr '\n' ' ')"
|
||||
options="$(echo "$options" | tr '\n' ' ' | xargs)"
|
||||
fi
|
||||
|
||||
if test -n "$inventory"; then
|
||||
|
|
Loading…
Reference in a new issue