From: Robert Schuster Date: Fri, 27 Jun 2008 10:53:19 +0000 (+0000) Subject: midpath: Allow overriding the JAVA executable in start script X-Git-Tag: Release-2010-05/1~6603 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=586b2f0315ea47697e14300ab5b66d96c0133b15;p=openembedded.git midpath: Allow overriding the JAVA executable in start script --- diff --git a/packages/midpath/files/midpath-launcher-j2se b/packages/midpath/files/midpath-launcher-j2se index 0b1c421e2d..22928a0e1e 100644 --- a/packages/midpath/files/midpath-launcher-j2se +++ b/packages/midpath/files/midpath-launcher-j2se @@ -4,7 +4,9 @@ if [ ! $LAUNCHER_CLASS ]; then LAUNCHER_CLASS=org.thenesis.midpath.main.MIDletLauncher fi -JAVA=java +if [ ! $JAVA ]; then + JAVA=java +fi JAR_HOME=/usr/share/java