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

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