]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/cleanup
ebl update with $bin variable
[bacula/bacula] / regress / scripts / cleanup
index 79c0ec2f2da067ccf82de59d206070b137b60b9b..e301244bb18c776b8e6270439c83f22068ad764c 100755 (executable)
@@ -2,13 +2,14 @@
 #
 # Cleanup left over files -- both before and after test run
 #
-rm -rf /tmp/FileVolume* tmp/FileVolume*  
-rm -rf /tmp/TestVolume001 /tmp/bacula-restores /tmp/Small*
-rm -rf /tmp/sed_tmp /tmp/file-list
+cwd=`pwd`
+rm -rf ${cwd}/tmp/FileVolume*
+rm -rf ${cwd}/tmp/TestVolume001 ${cwd}/tmp/bacula-restores ${cwd}/tmp/Small*
+rm -rf ${cwd}/tmp/sed_tmp ${cwd}/tmp/file-list
 rm -rf tmp/*
 rm -rf working/log tmp/TEST-*
 rm -rf working/*.bsr
-rm -rf /tmp/disk-changer
+rm -rf ${cwd}/tmp/disk-changer
 find . -name "gigaslam.gif" -exec rm -f {} \;
 
 
@@ -21,4 +22,4 @@ then
   ./make_bacula_tables      >/dev/null 2>&1
   ./grant_bacula_privileges >/dev/null 2>&1
   cd ..
-fi
\ No newline at end of file
+fi