X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fmake_postgresql_tables.in;h=bd136c6a0b4225622852ca5e7ccf1c125600bfd1;hb=cfcf57ad40aaebf44f8842c16907741000aea25e;hp=f990fdcecccb6bf864e05411645b16d22bfdaa6d;hpb=4218cce44b3110254d128cb2369865a3f5c0d176;p=bacula%2Fbacula diff --git a/bacula/src/cats/make_postgresql_tables.in b/bacula/src/cats/make_postgresql_tables.in index f990fdcecc..bd136c6a0b 100644 --- a/bacula/src/cats/make_postgresql_tables.in +++ b/bacula/src/cats/make_postgresql_tables.in @@ -3,8 +3,9 @@ # shell script to create Bacula PostgreSQL tables # bindir=@SQL_BINDIR@ +db_name=${db_name:-@db_name@} -if $bindir/psql -f - -d bacula $* <