1
0
Fork 0
mirror of https://github.com/dawidd6/action-ansible-playbook.git synced 2024-12-23 04:37:29 +00:00

main: trim whitespace in options

This commit is contained in:
Dawid Dziurla 2020-04-07 00:06:51 +02:00 committed by GitHub
parent 6befc53422
commit 3f717ecb7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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