]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/regexwhere-test
regress: add function to create many dirs
[bacula/bacula] / regress / tests / regexwhere-test
index 5d6ffc488481af07a124a92c6ac473a251bea69b..6ab02e2cd6f90c25993921cd2dc32fb5fced75a7 100755 (executable)
@@ -102,7 +102,7 @@ wait
 messages
 @##################################
 @$out tmp/RUN_JobG
-restore strip_prefix="${cwd}" add_prefix="/tmp/bacula-restore.$$"
+restore strip_prefix="${cwd}" add_prefix="${tmp}/bacula-restore.$$"
 5
 cd ${cwd}/build/po
 m *.po
@@ -256,7 +256,7 @@ else
    echo "$J in error"
    rstat=1
 fi
-rm -rf /tmp/bacula-restore.$$
+rm -rf ${tmp}/bacula-restore.$$
 
 J=JobH
 grep "Restore OK"  tmp/RUN_$J > /dev/null && \