#!/usr/bin/env sh

# When calling "runjython script.py", we assume that bot
# setclasspath.sh and
# script.py
# are in the current working directory.
#
# We will keep it this way until someone comes up with actual use cases.

if [ -f "setclasspath.sh" ] && [ $(dirname $1) = "." ]; then
    . ./setclasspath.sh
    export CLASSPATH
fi

#echo $CLASSPATH

jython $@
