File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ case "${CLIENT_VERSION}" in
7070 ;;
7171esac
7272
73- if [[ " ${TYPE} " == " MySQL" ] ]; then
73+ if [ " ${TYPE} " == " MySQL" ]; then
7474 SERVER_VERSION=$( mysql -e " SELECT VERSION()" --skip-column-names ${HOST_STRING} -u" ${USER} " " ${PASSWORD_STRING} " )
7575else
7676 SERVER_VERSION=$( mariadb -e " SELECT VERSION()" --skip-column-names ${HOST_STRING} -u" ${USER} " " ${PASSWORD_STRING} " )
@@ -84,7 +84,7 @@ echo "Detected ${TYPE} at version ${MAJOR}.${MINOR}"
8484
8585echo ' Checking if database is ready...'
8686
87- if [[ " ${TYPE} " == " MySQL" ] ]; then
87+ if [ " ${TYPE} " == " MySQL" ]; then
8888 while ! mysql ${HOST_STRING} --user=" ${USER} " " ${PASSWORD_STRING} " --execute=" SHOW DATABASES;" | grep ' information_schema' > /dev/null;
8989 do
9090 echo ' Waiting for database...'
You can’t perform that action at this time.
0 commit comments