summaryrefslogtreecommitdiff
path: root/tests/rm/deep-1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/deep-1')
-rwxr-xr-xtests/rm/deep-12
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rm/deep-1 b/tests/rm/deep-1
index b5ae89754..41928862b 100755
--- a/tests/rm/deep-1
+++ b/tests/rm/deep-1
@@ -33,7 +33,7 @@ fi
pwd=`pwd`
t0=`echo "$0"|sed 's,.*/,,'`.tmp;tmp=$t0/$$
-trap 'status=$?; cd $pwd; rm -rf $t0 && exit $status' 0
+trap 'status=$?; cd "$pwd" && rm -rf $t0 && exit $status' 0
trap '(exit $?); exit' 1 2 13 15
umask 022