diff --git a/start.sh b/start.sh index 5d1a784..ca61f7b 100755 --- a/start.sh +++ b/start.sh @@ -12,7 +12,7 @@ wait_for_table() { while [ "$ret" != "$1" ]; do echo "=> Table $1 not yet created, waiting ..." sleep 1; - ret=($mysql --skip-column-names -s -e "SHOW TABLES LIKE '$1';") + ret=`$mysql --skip-column-names -s -e "SHOW TABLES LIKE '$1';"` echo "ret was ${ret}" done }