Fix shell script

This commit is contained in:
Johannes Zellner
2023-02-09 15:55:14 +01:00
parent d090334699
commit fdd9ac34ae

View File

@@ -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
}