]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/set_tape_options
Implement a timeout on regression tests of 15 minutes
[bacula/bacula] / regress / scripts / set_tape_options
index d7970aa5831b5e6f20d6835e2c88955fa8100462..3681aceccf9be2812a6d260d9ca8b66c93d32c95 100755 (executable)
@@ -1,10 +1,10 @@
 #!/bin/sh 
-. ./config
+. scripts/functions
 # get proper SD tape definitions
-cp -f scripts/linux_tape_options bin/tape_options
+cp -f ${rscripts}/linux_tape_options ${conf}/tape_options
 if test x`uname` = xFreeBSD ; then
-   cp -f scripts/freebsd_tape_options bin/tape_options
+   cp -f ${rscripts}/freebsd_tape_options ${conf}/tape_options
 fi
 if test x${USE_VTAPE} = xyes ; then
-  echo "  Device Type = vtape" >>bin/tape_options
+  echo "  Device Type = vtape" >>${conf}/tape_options
 fi