summaryrefslogtreecommitdiffstats
path: root/abs/extra/rhino/rhino-jsc
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/rhino/rhino-jsc')
-rw-r--r--abs/extra/rhino/rhino-jsc8
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/extra/rhino/rhino-jsc b/abs/extra/rhino/rhino-jsc
new file mode 100644
index 0000000..0f47a61
--- /dev/null
+++ b/abs/extra/rhino/rhino-jsc
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+JAVA_CMD="/usr/bin/java"
+JAVA_OPTS=""
+JAVA_CLASSPATH="/usr/share/java/js.jar"
+JAVA_MAIN="org.mozilla.javascript.tools.jsc.Main"
+
+$JAVA_CMD $JAVA_OPTS -classpath $JAVA_CLASSPATH $JAVA_MAIN "$@"