rhino 1.7r1: New recipe (from Jalimo SVN).
[openembedded.git] / recipes / mozilla / rhino / rhino-jsc
diff --git a/recipes/mozilla/rhino/rhino-jsc b/recipes/mozilla/rhino/rhino-jsc
new file mode 100644 (file)
index 0000000..d5f50e8
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ ! $JAVA ]; then
+       JAVA=java
+fi
+
+$JAVA -cp .:/usr/share/java/js.jar org.mozilla.javascript.tools.jsc.Main $@
+