aboutsummaryrefslogtreecommitdiffstats
path: root/jrunscript.in
blob: 53e620acbe3efccec9a5677e1010dac56e6acc40 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

if [ x"@RHINO_JAR@" == x ] ; then
  echo "jrunscript requires rhino support"
  exit 1
fi

@JAVA@ -cp "@RHINO_JAR@" org.mozilla.javascript.tools.shell.Main $@