better use of existing JYTHONPATH

git-svn-id: http://google-refine.googlecode.com/svn/trunk@512 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Stefano Mazzocchi 2010-04-21 00:18:31 +00:00
parent 721e383bb5
commit 9d79278b99

View File

@ -759,10 +759,12 @@ if [ -z "$GRIDWORKS_DIST_DIR" ]; then
GRIDWORKS_DIST_DIR="dist"
fi
if [ -z "$PYTHONPATH" ]; then
PYTHONPATH="$GRIDWORKS_LIB_DIR/jython-2.5.1/"
if [ -z "$JYTHONPATH" ]; then
JYTHONPATH="$GRIDWORKS_LIB_DIR/jython-2.5.1"
else
JYTHONPATH="$GRIDWORKS_LIB_DIR/jython-2.5.1/${SEP}$JYTHONPATH"
fi
add_option "-Dpython.path=$PYTHONPATH"
add_option "-Dpython.path=$JYTHONPATH"
# ----- Respond to the action given --------------------------------------------