]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/win32/cats/make_postgresql_tables.cmd
More line-end cleanup
[bacula/bacula] / bacula / src / win32 / cats / make_postgresql_tables.cmd
1 rem \r
2 rem  shell script to create Bacula PostgreSQL tables\r
3 rem \r
4 bindir=@SQL_BINDIR@\r
5 \r
6 $bindir/psql -f make_postgresql_tables.sql -d bacula $*\r
7 if ERRORLEVEL 1 GOTO :ERROR\r
8 echo "Creation of Bacula PostgreSQL tables succeeded."\r
9 EXIT /b 0\r
10 GOTO :EOF\r
11 \r
12 :ERROR\r
13 echo "Creation of Bacula PostgreSQL tables failed."\r
14 EXIT /b 1\r