Skip to content

Commit 4ae24c3

Browse files
committed
Fix bug: escape properly in quote_java_property
1 parent b3c4cd5 commit 4ae24c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ quote_java_property() {
9898
for opt in "$@"; do
9999
is_system_property=$(echo "$opt" | grep -e "^-D")
100100
if [[ -n "$is_system_property" ]]; then
101-
QUOTED_JAVA_OPTS+=(\"$opt\")
101+
QUOTED_JAVA_OPTS+=("\"$opt\"")
102102
else
103103
QUOTED_JAVA_OPTS+=("$opt")
104104
fi

0 commit comments

Comments
 (0)