[oe-commits] org.oe.dev midpath: Allow overriding the JAVA executable in start script

thebohemian commit oe at amethyst.openembedded.net
Fri Jun 27 11:15:28 UTC 2008


midpath: Allow overriding the JAVA executable in start script

Author: thebohemian at openembedded.org
Branch: org.openembedded.dev
Revision: 39dd9b91f8a5af044ab4d792b8347a08541262f3
ViewMTN: http://monotone.openembedded.org/revision/info/39dd9b91f8a5af044ab4d792b8347a08541262f3
Files:
1
packages/midpath/files/midpath-launcher-j2se
Diffs:

#
# mt diff -rbb13fad5af4c178ac2a44dd6318c8ff87a5a9eb1 -r39dd9b91f8a5af044ab4d792b8347a08541262f3
#
#
#
# patch "packages/midpath/files/midpath-launcher-j2se"
#  from [c5b8e0c2e75469bf702bc86646d408ef6aa46099]
#    to [d54f49463d53bcd277bc4bc38ded3088dfd17731]
#
============================================================
--- packages/midpath/files/midpath-launcher-j2se	c5b8e0c2e75469bf702bc86646d408ef6aa46099
+++ packages/midpath/files/midpath-launcher-j2se	d54f49463d53bcd277bc4bc38ded3088dfd17731
@@ -4,7 +4,9 @@ fi
   LAUNCHER_CLASS=org.thenesis.midpath.main.MIDletLauncher
 fi
 
-JAVA=java
+if [ ! $JAVA ]; then
+  JAVA=java
+fi
 
 JAR_HOME=/usr/share/java
 






More information about the Openembedded-commits mailing list