]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/config
Fix SQLite and PostgreSQL table creation script syntax
[bacula/bacula] / regress / config
index 860dfcc4052e6a175f9d10a1011860cb6fe1e7b5..4bc4f52703bf00626b0cd9a7d835b274f25732a9 100755 (executable)
@@ -2,4 +2,8 @@
 #
 # First argument is expected to be a user's configuration file
 #
+if ! test -e $1 ; then
+   echo "Arg1 must specify a config file (e.g. prototype.conf)"
+   exit 1
+fi
 sed -e "/@CONFIG@/r $1" -e "s/@CONFIG@//" Makefile.in >Makefile