aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-06-22 21:35:08 -0500
committerRob Landley <rob@landley.net>2019-06-22 21:35:08 -0500
commit26adf95057c5ee9819203b18c7dc3714ed91bdb9 (patch)
tree0a4b8790bacbf6be0be61efe4a95fa9117277c49
parentafd29d4ab0d4384cdc0a37f70ccfbdf40dddf27c (diff)
downloadtoybox-26adf95057c5ee9819203b18c7dc3714ed91bdb9.tar.gz
Make testcmd work if the path to $PWD has a space in it.
-rw-r--r--scripts/runtest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runtest.sh b/scripts/runtest.sh
index abd924d9..f0450bd9 100644
--- a/scripts/runtest.sh
+++ b/scripts/runtest.sh
@@ -150,7 +150,7 @@ testcmd()
X="$1"
[ -z "$X" ] && X="$CMDNAME $2"
- testing "$X" "$C $2" "$3" "$4" "$5"
+ testing "$X" "\"$C\" $2" "$3" "$4" "$5"
}
# Recursively grab an executable and all the libraries needed to run it.