]> git.sur5r.net Git - bacula/bacula/commitdiff
Make regexwhere use tmp rather than /tmp
authorKern Sibbald <kern@sibbald.com>
Tue, 11 Aug 2009 10:00:11 +0000 (12:00 +0200)
committerKern Sibbald <kern@sibbald.com>
Tue, 11 Aug 2009 10:00:11 +0000 (12:00 +0200)
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 && \