Skip to content

Commit

Permalink
Fix bug: escape properly in quote_java_property
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewor14 committed Aug 8, 2014
1 parent b3c4cd5 commit 4ae24c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ quote_java_property() {
for opt in "$@"; do
is_system_property=$(echo "$opt" | grep -e "^-D")
if [[ -n "$is_system_property" ]]; then
QUOTED_JAVA_OPTS+=(\"$opt\")
QUOTED_JAVA_OPTS+=("\"$opt\"")
else
QUOTED_JAVA_OPTS+=("$opt")
fi
Expand Down

0 comments on commit 4ae24c3

Please sign in to comment.