X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Fconfig;h=4bc4f52703bf00626b0cd9a7d835b274f25732a9;hb=ba2b2e7ea2e37db05076cc66b2d91a66cc7dff5c;hp=860dfcc4052e6a175f9d10a1011860cb6fe1e7b5;hpb=bff6e9d5b06b3fcafb108e025dccb6cb59208403;p=bacula%2Fbacula diff --git a/regress/config b/regress/config index 860dfcc405..4bc4f52703 100755 --- a/regress/config +++ b/regress/config @@ -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