diff --git a/libraries/util.bash b/libraries/util.bash index 39446647..6266dbaa 100755 --- a/libraries/util.bash +++ b/libraries/util.bash @@ -8,7 +8,7 @@ function arrayToParameters() { local -r array=("${@}") - local -r string="$(printf "'%s '" "${array[@]}")" + local -r string="$(printf "'%s' " "${array[@]}")" echo "${string:0:${#string} - 1}" }