Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: fb234cc7ae
Fetching contributors…

Cannot retrieve contributors at this time

executable file 29 lines (19 sloc) 0.584 kb
#!/bin/sh
# This file is a batch script that invokes loader
# ex: documentjs/doc cookbook/cookbook.html
# Absolute path to this script. /home/user/bin/foo.sh
TARGET_FILE=$0
cd `dirname $TARGET_FILE`
TARGET_FILE=`basename $TARGET_FILE`
PHYS_DIR=`pwd -P`
SCRIPT=$PHYS_DIR/$TARGET_FILE
# Absolute path this script is in. /home/user/bin
BASE=`dirname $SCRIPT`/
# Keeps the executing directory as the JMVC root.
cd $BASE..
# classpath
CP=$BASE../steal/rhino/js.jar
# load the run.js file
LOADPATH=${BASE}scripts/run.js
# call js.bat
. $BASE../steal/rhino/loader $1 $2 $3 $4 $5 $6
Jump to Line
Something went wrong with that request. Please try again.