aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/java-run.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-05-04 02:48:34 +0200
committerSven Gothel <[email protected]>2010-05-04 02:48:34 +0200
commita677e9db03ea44ea353fb9de61e2a86a6e063d0f (patch)
tree38386c55346aea6e7c43a28bae024e67248a2898 /make/scripts/java-run.sh
parent63916148e837942c9ec996320bda805e80d7e06e (diff)
Fix script location
Diffstat (limited to 'make/scripts/java-run.sh')
-rwxr-xr-xmake/scripts/java-run.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/make/scripts/java-run.sh b/make/scripts/java-run.sh
index 0246156db..fbc06893f 100755
--- a/make/scripts/java-run.sh
+++ b/make/scripts/java-run.sh
@@ -1,5 +1,7 @@
#! /bin/sh
+scriptdir=`dirname $0`
+
function print_usage() {
echo "Usage: $0 [-libdir pre-lib-dir] jogl-build-dir ..."
}
@@ -23,7 +25,7 @@ if [ -z "$1" ] ; then
exit
fi
-. ./setenv-jogl.sh $1
+. $scriptdir/setenv-jogl.sh $1
shift
MOSX=0