summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Reilly <peterreilly@apache.org>2003-11-24 09:27:00 +0000
committerPeter Reilly <peterreilly@apache.org>2003-11-24 09:27:00 +0000
commit8b3e0de53d03915035174e763a009a608ff0baab (patch)
treeee1bea66984bd44eef34c18ee42fc76c0f1ab60d
parent64319949eff5473a15639b0e044607aa62cbf869 (diff)
downloadant-8b3e0de53d03915035174e763a009a608ff0baab.tar.gz
Protect PWD with quotations to allow ant to be placed in
a directory with spaces git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275667 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index dfbaaa8f6..cb14d2d5a 100755
--- a/build.sh
+++ b/build.sh
@@ -16,10 +16,10 @@ case "`uname`" in
esac
REALANTHOME=$ANT_HOME
-if [ -z $PWD ]; then
+if [ -z "$PWD" ]; then
ANT_HOME=./bootstrap
else
- ANT_HOME=$PWD/bootstrap
+ ANT_HOME="$PWD"/bootstrap
fi
export ANT_HOME