aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/make.jogl.all.linux-x86.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-08-30 19:30:19 +0200
committerSven Gothel <[email protected]>2011-08-30 19:30:19 +0200
commit5a7811ecd23a3ab1af62b243c82d362431793a57 (patch)
tree1565d250d749c475f4e314d0675da2cec08d6a9d /make/scripts/make.jogl.all.linux-x86.sh
parent6b951024dcb3ba85e2d1dd042f1a8c60054277f5 (diff)
Use GlueGen's setenv-build-jogl scripts from commit 4a75b64107e157ff1db3991cf89bf8d856ddc0e6
Diffstat (limited to 'make/scripts/make.jogl.all.linux-x86.sh')
-rwxr-xr-xmake/scripts/make.jogl.all.linux-x86.sh16
1 files changed, 3 insertions, 13 deletions
diff --git a/make/scripts/make.jogl.all.linux-x86.sh b/make/scripts/make.jogl.all.linux-x86.sh
index b81cf79f6..b79fffe33 100755
--- a/make/scripts/make.jogl.all.linux-x86.sh
+++ b/make/scripts/make.jogl.all.linux-x86.sh
@@ -1,19 +1,9 @@
#! /bin/sh
-if [ -e ../../setenv-build-jogl-x86.sh ] ; then
- . ../../setenv-build-jogl-x86.sh
-fi
+SDIR=`dirname $0`
-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
- export ANT_PATH
- echo autosetting ANT_PATH to $ANT_PATH
- fi
-fi
-if [ -z "$ANT_PATH" ] ; then
- echo ANT_PATH does not exist, set it
- exit
+if [ -e $SDIR/../../../gluegen/make/scripts/setenv-build-jogl-x86.sh ] ; then
+ . $SDIR/../../../gluegen/make/scripts/setenv-build-jogl-x86.sh
fi
if [ "$1" = "-libdir" ] ; then