Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbtek committed Dec 1, 2019
1 parent 4dbba88 commit 87a4c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/util.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}
Expand Down

0 comments on commit 87a4c34

Please sign in to comment.