Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-7
-
None
-
None
-
Unixes, Mac OS X
Description
This patch to the unix shell scripts accomplishes two things:
(1) Fixes their behavior when invoked via a symlink. For instance, if /opt/local/bin/groovy is a symlink to the script in the actual install location, invoking /opt/local/bin/grooy will fail because groovy doesn't properly calculate groovy home in the presense of the symlink.
(2) Improves behavior under Mac OS X. If JAVA_HOME isn't set, the scripts detect this automatically and calculate a reasonable value.
This patch is an update to one submitted as part of an earlier bug (http://jira.codehaus.org/browse/GROOVY-490), which has been ignored for months. This patch supercedes that one.
This patch is against cvs HEAD.