aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/rhino/rhino/rhino
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/rhino/rhino/rhino')
-rw-r--r--recipes-core/rhino/rhino/rhino8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-core/rhino/rhino/rhino b/recipes-core/rhino/rhino/rhino
new file mode 100644
index 0000000..e2f87f6
--- /dev/null
+++ b/recipes-core/rhino/rhino/rhino
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ ! $JAVA ]; then
+ JAVA=java
+fi
+
+$JAVA -jar /usr/share/java/js.jar $@
+