summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/java-wrappers/files/java
diff options
context:
space:
mode:
Diffstat (limited to 'org.handhelds.familiar/packages/java-wrappers/files/java')
-rw-r--r--org.handhelds.familiar/packages/java-wrappers/files/java12
1 files changed, 12 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/java-wrappers/files/java b/org.handhelds.familiar/packages/java-wrappers/files/java
new file mode 100644
index 0000000..9d64b49
--- /dev/null
+++ b/org.handhelds.familiar/packages/java-wrappers/files/java
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# java OE wrapper script
+# Copyright (C) 2006, Rene Wagner. All Rights Reserved
+# Released under the MIT license (see org.handhelds.familiar/COPYING.MIT)
+
+if [ -z ${JAVA} ]; then
+ echo 'Error: $JAVA not set.'
+ exit 1
+fi
+
+exec ${JAVA} $@