Browse Source

Make JIKESPATH construction on Mac OS X take JAVA_HOME into account.

This won't change anything if the user doesn't set JAVA_HOME.

PR: 17458
Submitted by:	Dwayne Schultz <dwayne at schultz dot net>


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

+ 1
- 1
src/script/ant View File

@@ -145,7 +145,7 @@ if [ -n "$JAVA_HOME" ] ; then

# OSX hack to make Ant work with jikes
if $darwin ; then
OSXHACK="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes"
OSXHACK="${JAVA_HOME}/../Classes"
if [ -d "${OSXHACK}" ] ; then
for i in "${OSXHACK}"/*.jar
do


Loading…
Cancel
Save