diff options
Diffstat (limited to 'recipes-core/rhino/rhino/rhino-jsc')
-rw-r--r-- | recipes-core/rhino/rhino/rhino-jsc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-core/rhino/rhino/rhino-jsc b/recipes-core/rhino/rhino/rhino-jsc new file mode 100644 index 0000000..d5f50e8 --- /dev/null +++ b/recipes-core/rhino/rhino/rhino-jsc | |||
@@ -0,0 +1,8 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | if [ ! $JAVA ]; then | ||
4 | JAVA=java | ||
5 | fi | ||
6 | |||
7 | $JAVA -cp .:/usr/share/java/js.jar org.mozilla.javascript.tools.jsc.Main $@ | ||
8 | |||