summaryrefslogtreecommitdiffstats
path: root/abs/extra/rhino/rhino-jsc
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-01 20:48:19 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-01 20:48:19 (GMT)
commit812d4cea8f79d400ef9bc3604ccecb2fcd8f7a0c (patch)
tree8b0a28d9def2ff874dfafd6d4ed18bd526daaae0 /abs/extra/rhino/rhino-jsc
parent143955ed9718843e1e36da0fb83c971bb40cd7f2 (diff)
downloadlinhes_pkgbuild-812d4cea8f79d400ef9bc3604ccecb2fcd8f7a0c.zip
linhes_pkgbuild-812d4cea8f79d400ef9bc3604ccecb2fcd8f7a0c.tar.gz
linhes_pkgbuild-812d4cea8f79d400ef9bc3604ccecb2fcd8f7a0c.tar.bz2
rhino: recompile for zoneminder
refs #857
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 "$@"