]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/cats/make_bacula_tables.in
Fix Win32 build with new .def files and DLL_IMP_EXP ...
[bacula/bacula] / bacula / src / cats / make_bacula_tables.in
index 6360980abbd6baf2570caae96228c828370d0411..0c6dd12eb6663df175f0fdacf809c59953c128e5 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@ ; then
+if test xsqlite = x@DB_TYPE@ -o xsqlite3 = x@DB_TYPE@ ; then
   echo "Making SQLite tables"
-  @scriptdir@/make_sqlite_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