view jrunscript.in @ 384:55f0cf95f6aa default tip

Made it work with OpenJDK build 25 by creating application as soon as possible
author Jiri Vanek <jvanek@redhat.com>
date Thu, 20 Jun 2013 15:34:04 +0200
parents 1d720491c619
children
line wrap: on
line source

#!/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 $@