Skip to content

Commit 653acf3

Browse files
committed
posix
1 parent 8cad920 commit 653acf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/install-package-tests

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ case "${CLIENT_VERSION}" in
7070
;;
7171
esac
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}")
7575
else
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

8585
echo '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...'

0 commit comments

Comments
 (0)