]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/cats/make_bacula_tables.in
Tweak mutex order for SD
[bacula/bacula] / bacula / src / cats / make_bacula_tables.in
index a71462d2308e5b6163160b2632d12835a2b1911f..c8469f12bf04e11fb7f36f201074d4c2e36e47c9 100755 (executable)
@@ -3,11 +3,11 @@
 # This routine makes the appropriately configured
 #  Bacula tables for PostgreSQL, MySQL, or SQLite.
 #
-if test xsqlite = x@DB_NAME@ -o xsqlite3 = x@DB_NAME@ ; then
+if test xsqlite3 = x@DB_TYPE@ ; then
   echo "Making SQLite tables"
-  @scriptdir@/make_@DB_NAME@_tables $*
+  @scriptdir@/make_@DB_TYPE@_tables $*
 else
-  if test xmysql = x@DB_NAME@ ; then 
+  if test xmysql = x@DB_TYPE@ ; then 
     echo "Making MySQL tables"
     @scriptdir@/make_mysql_tables $*
   else