From a677e9db03ea44ea353fb9de61e2a86a6e063d0f Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 4 May 2010 02:48:34 +0200 Subject: Fix script location --- make/scripts/java-run-newt.sh | 4 +++- make/scripts/java-run.sh | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'make') 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 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 -- cgit v1.2.3