Browse Source

Allow JAVA_HOME to be unset by finding java if it is in the path.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273953 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 22 years ago
parent
commit
f0de7d0c4b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/script/ant

+ 1
- 1
src/script/ant View File

@@ -87,7 +87,7 @@ if [ -z "$JAVACMD" ] ; then
JAVACMD="$JAVA_HOME/bin/java"
fi
else
JAVACMD=java
JAVACMD=`which java`
fi
fi


Loading…
Cancel
Save