diff --git a/src/script/ant b/src/script/ant index 47ea69cd9..7c78cf660 100644 --- a/src/script/ant +++ b/src/script/ant @@ -69,9 +69,6 @@ if [ -z "$ANT_HOME" ] ; then cd $saveddir fi -# set ANT_LIB location -ANT_LIB=${ANT_HOME}/lib - # For Cygwin, ensure paths are in UNIX format before anything is touched if $cygwin ; then [ -n "$ANT_HOME" ] && @@ -82,6 +79,9 @@ if $cygwin ; then CLASSPATH=`cygpath --path --unix "$CLASSPATH"` fi +# set ANT_LIB location +ANT_LIB=${ANT_HOME}/lib + if [ -z "$JAVACMD" ] ; then if [ -n "$JAVA_HOME" ] ; then if [ -x "$JAVA_HOME/jre/sh/java" ] ; then