summaryrefslogtreecommitdiff
path: root/tests/cp/src-base-dot
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/src-base-dot')
-rwxr-xr-xtests/cp/src-base-dot2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/src-base-dot b/tests/cp/src-base-dot
index 4b4a586da..1af0e5794 100755
--- a/tests/cp/src-base-dot
+++ b/tests/cp/src-base-dot
@@ -27,7 +27,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