]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/setup
Fix configuration of default SQLite
[bacula/bacula] / regress / scripts / setup
index 4bc14086195a63ac3ac25258341cc1c317152831..8ef7b8834739d9fc5de897c2db2c3100a63c7555 100755 (executable)
@@ -3,9 +3,9 @@
 # Script to setup running Bacula regression tests
 #
 cwd=`pwd`
-if [ $# != 4 ] ; then
-   echo "Incorrect number of arguments. Need:"
-   echo "setup bacula-src depkgs email-address --with-DBNAME"
+if [ $# != 3 ] ; then
+   echo "Incorrect number of arguments. Got $#. Need:"
+   echo "setup bacula-src email-address --with-DBNAME"
    echo " "
    exit 1
 fi
@@ -14,13 +14,6 @@ if [ ! -d $1 ] ; then
    echo " "
    exit 1
 fi
-if [ ! -d $2 ] ; then
-   cd ..
-   cwd=`pwd`
-   echo "The regression scripts require DEPKGS as arg 2 but not found!" 
-   echo " "
-   exit 1
-fi
 rm -rf build bin
 # Copy new source
 cp -rp $1 build
@@ -28,7 +21,7 @@ cp scripts/regress-config build
 cd build
 rm -f Makefile config.cache
 # Run Bacula configuration, make, install
-./regress-config ${cwd} $2 $3 $4
+./regress-config ${cwd} $2 $3
 make
 make install
 cp src/tools/testls ../bin