aboutsummaryrefslogtreecommitdiffstats
path: root/jrunscript.in
blob: 3d50826138a7baeec673451504febf611be95e20 (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 $@