From 87a4c341c3f91ae2b8849a0e976b62717bd9b0d1 Mon Sep 17 00:00:00 2001 From: Nam Nguyen Date: Sat, 30 Nov 2019 22:46:05 -0800 Subject: [PATCH] bug fixes --- libraries/util.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" }