summaryrefslogtreecommitdiffstats
path: root/make/scripts/java-run-newt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make/scripts/java-run-newt.sh')
-rwxr-xr-xmake/scripts/java-run-newt.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/make/scripts/java-run-newt.sh b/make/scripts/java-run-newt.sh
index abf57067c..94f77143f 100755
--- a/make/scripts/java-run-newt.sh
+++ b/make/scripts/java-run-newt.sh
@@ -1,5 +1,7 @@
#! /bin/bash
+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