Browse Source

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
master
Peter Reilly 21 years ago
parent
commit
8b3e0de53d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      build.sh

+ 2
- 2
build.sh View File

@@ -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



Loading…
Cancel
Save