diff options
Diffstat (limited to 'tests/rm/deep-1')
-rwxr-xr-x | tests/rm/deep-1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rm/deep-1 b/tests/rm/deep-1 index fc000f2ca..21702ad0e 100755 --- a/tests/rm/deep-1 +++ b/tests/rm/deep-1 @@ -13,8 +13,8 @@ if test "$VERBOSE" = yes; then fi pwd=`pwd` -tmp=`echo "$0"|sed 's,.*/,,'`.tmp -trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0 +t0=`echo "$0"|sed 's,.*/,,'`.tmp;tmp=$t0/$$ +trap 'status=$?; cd $pwd; rm -rf $t0 && exit $status' 0 trap '(exit $?); exit' 1 2 13 15 umask 022 |