diff options
Diffstat (limited to 'recipes/mozilla/rhino/rhino-jsc')
-rw-r--r-- | recipes/mozilla/rhino/rhino-jsc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes/mozilla/rhino/rhino-jsc b/recipes/mozilla/rhino/rhino-jsc new file mode 100644 index 0000000000..d5f50e8451 --- /dev/null +++ b/recipes/mozilla/rhino/rhino-jsc @@ -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 $@ + |