]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/updatedb/update_sqlite3_tables_10_to_11.in
Remove last traces of @SQL_BINDIR@ and @DB_TYPE@
[bacula/bacula] / bacula / updatedb / update_sqlite3_tables_10_to_11.in
index 54a407d26f307bbf2c02f09e2f1f155cc57ba9ae..29f96eb5958d0d96a869d1c4fd0ed25804b04eea 100644 (file)
@@ -9,12 +9,12 @@ echo "Depending on the size of your database,"
 echo "this script may take several minutes to run."
 echo " "
 
-bindir=@SQL_BINDIR@
+bindir=@SQLITE_BINDIR@
+PATH="$bindir:$PATH"
 cd @working_dir@
-sqlite=@DB_TYPE@
 db_name=@db_name@
 
-${bindir}/${sqlite} $* ${db_name}.db <<END-OF-DATA
+sqlite3 $* ${db_name}.db <<END-OF-DATA
 -- Can be replaced by 
 -- ALTER TABLE Job ADD COLUMN (ReadBytes BIGINT UNSIGNED DEFAULT 0);