Skip to content

Commit ca886f7

Browse files
committed
wl12360: Fix escaping of special characters in replacement string
1 parent bdf762a commit ca886f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gen_dockerfiles.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ DEFAULT_LOG["8.0"]="console"
8181
# MySQL 8.0 supports a call to validate the config, while older versions have it as a side
8282
# effect of running --verbose --help
8383
declare -A VALIDATE_CONFIG
84-
VALIDATE_CONFIG["5.6"]="output=$(\"$@\" --verbose --help 2>&1 > /dev/null) || result=$?"
85-
VALIDATE_CONFIG["5.7"]="output=$(\"$@\" --verbose --help 2>&1 > /dev/null) || result=$?"
86-
VALIDATE_CONFIG["8.0"]="output=$(\"$@\" --validate-config) || result=$?"
84+
VALIDATE_CONFIG["5.6"]="output=\$(\"\$@\" --verbose --help 2>&1 > /dev/null) || result=\$?"
85+
VALIDATE_CONFIG["5.7"]="output=\$(\"\$@\" --verbose --help 2>&1 > /dev/null) || result=\$?"
86+
VALIDATE_CONFIG["8.0"]="output=\$(\"\$@\" --validate-config) || result=\$?"
8787

8888
for VERSION in "${!MYSQL_SERVER_VERSIONS[@]}"
8989
do

0 commit comments

Comments
 (0)