aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-07 07:42:09 +0100
committerSven Gothel <[email protected]>2010-11-07 07:42:09 +0100
commit8c2f02849562ea7b5ab52420c1aa798ae7aa0885 (patch)
treedf4c166efa6c46d881e37725ad24d7c8c47b783e /make/scripts
parent8ee9681488e814d663dda14ebfc2af515eb6c167 (diff)
Fix CG header, according to PCPP fix
Diffstat (limited to 'make/scripts')
-rwxr-xr-xmake/scripts/setenv-jogl.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/scripts/setenv-jogl.sh b/make/scripts/setenv-jogl.sh
index 76fa40fc5..2b6985c74 100755
--- a/make/scripts/setenv-jogl.sh
+++ b/make/scripts/setenv-jogl.sh
@@ -57,8 +57,8 @@ GLUEGEN_OS=$GLUEGEN_BUILDDIR/obj
JUNIT_JAR=$GLUEGEN_DIR/make/lib/junit.jar
if [ -z "$ANT_PATH" ] ; then
- if [ -e /usr/share/ant/bin/ant -a -e /usr/share/ant/lib/ant.jar ] ; then
- ANT_PATH=/usr/share/ant
+ ANT_PATH=$(dirname `which ant`)/..
+ if [ -e $ANT_PATH/lib/ant.jar ] ; then
export ANT_PATH
echo autosetting ANT_PATH to $ANT_PATH
fi