Browse Source

Make ModifiedSelectorTest pass when started through build.sh or build.bat

PR: 24481
Submitted by: Florian.G. Haas (f dot g dot haas at gmx dot net)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275628 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 21 years ago
parent
commit
f492cc5278
2 changed files with 6 additions and 2 deletions
  1. +1
    -1
      build.bat
  2. +5
    -1
      build.sh

+ 1
- 1
build.bat View File

@@ -4,7 +4,7 @@ REM Copyright (c) 2000-2003 The Apache Software Foundation. All rights
REM reserved.

set REAL_ANT_HOME=%ANT_HOME%
set ANT_HOME=bootstrap
set ANT_HOME=%~dp0\bootstrap
if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist bootstrap\bin\lcp.bat if exist bootstrap\bin\antRun.bat goto runAnt
call bootstrap.bat
if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist bootstrap\bin\lcp.bat if exist bootstrap\bin\antRun.bat goto runAnt


+ 5
- 1
build.sh View File

@@ -16,7 +16,11 @@ case "`uname`" in
esac

REALANTHOME=$ANT_HOME
ANT_HOME=bootstrap
if [ -z $PWD ]; then
ANT_HOME=./bootstrap
else
ANT_HOME=$PWD/bootstrap
fi
export ANT_HOME

if test ! -f bootstrap/lib/ant.jar -o ! -x bootstrap/bin/ant -o ! -x bootstrap/bin/antRun ; then


Loading…
Cancel
Save