Skip to content

Commit 038c729

Browse files
committed
Fix cli files and jython_home_dir path.
1 parent 705d368 commit 038c729

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/geoscript-py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
JYTHON=""
44
if [ "$JYTHON_HOME_DIR" != "" ] && [ -e $JYTHON_HOME_DIR/jython ]; then
5-
JYTHON=$JYTHON_HOME/bin/jython
5+
JYTHON=$JYTHON_HOME_DIR/bin/jython
66
else
77
which jython > /dev/null
88
if [ "$?" == "1" ]; then

bin/geoscript-py.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ FOR /f "tokens=*" %%X IN ('%JYTHON_EXE% %~dp0geoscript-py-classpath') DO (
2121
%JYTHON_EXE%
2222
SET JYTHON_EXE=
2323

24-
:NO_JYTHON_HOME
24+
:NO_JYTHON_HOME_DIR
2525
ECHO Error, JYTHON_HOME_DIR is unset. Please set JYTHON_HOME_DIR to root of Jython installation.
2626
GOTO DONE
2727

0 commit comments

Comments
 (0)