X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=bacula%2Fsrc%2Fcats%2Fmake_postgresql_tables.in;h=a713c06a4db0c568c8e0ebdf2ee8efdf37e5491f;hb=1ac0577ea0c434a9d85f5b6abcd8c017f9d70f6b;hp=91bf1efc4734eb765b277404eeaa21bd16b51867;hpb=e491ea34b1c83ee3040317e4540df2a7a6d54447;p=bacula%2Fbacula diff --git a/bacula/src/cats/make_postgresql_tables.in b/bacula/src/cats/make_postgresql_tables.in index 91bf1efc47..a713c06a4d 100644 --- a/bacula/src/cats/make_postgresql_tables.in +++ b/bacula/src/cats/make_postgresql_tables.in @@ -3,9 +3,10 @@ # shell script to create Bacula PostgreSQL tables # bindir=@SQL_BINDIR@ +PATH="$bindir:$PATH" db_name=${db_name:-@db_name@} -$bindir/psql -f - -d ${db_name} $* <