summaryrefslogtreecommitdiff
path: root/tests/mkdir/p-1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mkdir/p-1')
-rwxr-xr-xtests/mkdir/p-14
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mkdir/p-1 b/tests/mkdir/p-1
index 5b9eb5b31..001b8b74c 100755
--- a/tests/mkdir/p-1
+++ b/tests/mkdir/p-1
@@ -25,10 +25,10 @@ fi
pwd=`pwd`
tmp=`echo "$0"|sed 's,.*/,,'`.tmp
-trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0
+trap 'status=$?; cd "$pwd" && rm -rf $tmp && exit $status' 0
trap '(exit $?); exit' 1 2 13 15
-mkdir --parents $pwd/$tmp || fail=1
+mkdir --parents "$pwd"/$tmp || fail=1
test -d $tmp || fail=1