summaryrefslogtreecommitdiff
path: root/tests/cp/acl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/acl')
-rwxr-xr-xtests/cp/acl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/acl b/tests/cp/acl
index 02761ced2..3a5eb3376 100755
--- a/tests/cp/acl
+++ b/tests/cp/acl
@@ -39,7 +39,7 @@ fi
pwd=`pwd`
t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$
-trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0
+trap 'status=$?; cd "$pwd" && chmod -R u+rwx $t0 && rm -rf $t0 && exit $status' 0
trap '(exit $?); exit $?' 1 2 13 15
framework_failure=0