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