We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cdc6b1 commit 45a1eb9Copy full SHA for 45a1eb9
bin/utils.sh
@@ -49,7 +49,12 @@ escape_java_options() {
49
fi
50
if [[ $opened_quotes == 0 ]]; then
51
# Remove all non-escaped quotes around the value
52
- ESCAPED_JAVA_OPTS+=("$(echo "$option_buffer $word" | sed "s/^[[:space:]]*//" | sed "s/\([^\\]\)\"/\1/g")")
+ ESCAPED_JAVA_OPTS+=("$(
53
+ echo "$option_buffer $word" | \
54
+ sed "s/^[[:space:]]*//" | \
55
+ sed "s/\([^\\]\)\"/\1/g" | \
56
+ sed "s/\\\\\([\\\"]\)/\1/g"
57
+ )")
58
option_buffer=""
59
else
60
# We are expecting a closing double quote, so keep buffering
0 commit comments