summaryrefslogtreecommitdiff
path: root/tests/cp/cp-deref
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/cp-deref')
-rwxr-xr-xtests/cp/cp-deref2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/cp-deref b/tests/cp/cp-deref
index 80085c263..d90139d3f 100755
--- a/tests/cp/cp-deref
+++ b/tests/cp/cp-deref
@@ -26,7 +26,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