From: Eric Bollengier Date: Fri, 24 Oct 2008 13:13:13 +0000 (+0000) Subject: ebl Fix bad quote X-Git-Tag: Release-7.0.0~3862 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9109979236e77a0fc7bddc0afe7239b52f80d6a2;p=bacula%2Fbacula ebl Fix bad quote git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7893 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/updatedb/update_mysql_tables_7_to_8 b/bacula/updatedb/update_mysql_tables_7_to_8 index a98729474f..8cd6ed1af5 100755 --- a/bacula/updatedb/update_mysql_tables_7_to_8 +++ b/bacula/updatedb/update_mysql_tables_7_to_8 @@ -9,7 +9,7 @@ echo "this script may take several minutes to run." echo " " bindir=/usr/bin -DB_VER="$bindir/mysql $* bacula -e 'select * from Version;'|tail -n 1 2>/dev/null" +DB_VER=`$bindir/mysql $* bacula -e 'select * from Version;'|tail -n 1 2>/dev/null` if [ -z "$DB_VER" ]; then echo "Sorry, I can't seem to locate a bacula database." exit 1