diff options
author | Sven Gothel <[email protected]> | 2008-07-21 00:19:38 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-07-21 00:19:38 +0000 |
commit | c77431971bb293ff2dd5ed61857af13ea0bc2f68 (patch) | |
tree | e6b563643a681b26470fb64ebd50418b3144f6ff /setenv-jogl.sh | |
parent | 9ab3151dff72a0463e21566fe01d66e715f28dbe (diff) |
sync with new profile, more generic shell-script
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@261 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'setenv-jogl.sh')
-rw-r--r-- | setenv-jogl.sh | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/setenv-jogl.sh b/setenv-jogl.sh index 3233599..2378806 100644 --- a/setenv-jogl.sh +++ b/setenv-jogl.sh @@ -1,28 +1,26 @@ #! /bin/sh if [ -z "$1" ] ; then - echo "Usage: $0 {JOGL_ALL|JOGL_ES1_MIN|JOGL_ES1_MAX|JOGL_ES2_MIN|JOGL_ES2_MAX|JOGL_GL2_MIN|JOGL_GL2_MAX}" + echo "Usage: $0 {JOGL_ALL|JOGL_ES1_MIN|JOGL_ES1_MAX|JOGL_ES2_MIN|JOGL_ES2_MAX|JOGL_GL2ES12_MIN|JOGL_GL2ES12_MAX|JOGL_GL2_MIN|JOGL_GL2_MAX}" else JOGL_PROFILE=$1 shift CVSROOT=":pserver:[email protected]:/cvs" -THISDIR="/usr/local/projects/SUN/JOGL2/jogl-demos" +THISDIR=`pwd` export CVSROOT THISDIR -. /devtools/etc/profile.ant +if [ -x /devtools/etc/profile.ant ] ; then + . /devtools/etc/profile.ant +fi -J2RE_HOME=/opt-linux-x86/jre-dev -JAVA_HOME=/usr/local/projects/SUN/JDK6/control/build/linux-i586/j2sdk-image +J2RE_HOME=$(dirname `which java`) +JAVA_HOME=$(dirname `which javac`) CP_SEP=: export LIBXCB_ALLOW_SLOPPY_LOCK=1 -#PATH=/devtools/i686-unknown-linux-gnu/gcc-4.2.1-glibc-2.3.6/i686-unknown-linux-gnu/i686-unknown-linux-gnu/bin:$J2RE_HOME/bin:$JAVA_HOME/bin:$PATH -PATH=/devtools/i686-unknown-linux-gnu/gcc-4.2.1-glibc-2.3.6/i686-unknown-linux-gnu/i686-unknown-linux-gnu/bin:$JAVA_HOME/bin:$PATH -export PATH - . $THISDIR/../jogl/etc/profile.jogl $THISDIR/../jogl/build $THISDIR/../jogl/build/obj $JOGL_PROFILE GLUEGEN_JAR=$THISDIR/../gluegen/build/gluegen-rt.jar |