]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/cats/make_bacula_tables.in
kes Apply patch supplied in bug #656 to pass priority field
[bacula/bacula] / bacula / src / cats / make_bacula_tables.in
index 0195bb00ba424b44d2af05a7e4cb256e1608717d..a71462d2308e5b6163160b2632d12835a2b1911f 100755 (executable)
@@ -1,17 +1,17 @@
 #!/bin/sh
 #
 # This routine makes the appropriately configured
-#  Bacula tables for either MySQL or SQLite
+#  Bacula tables for PostgreSQL, MySQL, or SQLite.
 #
-if test xsqlite = x@DB_NAME@ ; then
+if test xsqlite = x@DB_NAME@ -o xsqlite3 = x@DB_NAME@ ; then
   echo "Making SQLite tables"
-  . ./make_sqlite_tables
+  @scriptdir@/make_@DB_NAME@_tables $*
 else
   if test xmysql = x@DB_NAME@ ; then 
     echo "Making MySQL tables"
-    . ./make_mysql_tables
+    @scriptdir@/make_mysql_tables $*
   else
     echo "Making PostgreSQL tables"
-    . ./make_postgresql_tables
+    @scriptdir@/make_postgresql_tables $*
   fi
 fi