bodewig 2003/03/07 00:42:26
Modified: src/script ant Log: 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> Revision Changes Path 1.34 +1 -1 ant/src/script/ant Index: ant =================================================================== RCS file: /home/cvs/ant/src/script/ant,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- ant 21 Feb 2003 11:53:26 -0000 1.33 +++ ant 7 Mar 2003 08:42:26 -0000 1.34 @@ -145,7 +145,7 @@ # 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