mirror of
https://github.com/djohnlewis/stackdump
synced 2024-12-04 23:17:37 +00:00
Fixed a minor bug where if the incorrect version of Python was specified in PYTHON_CMD, no error message was printed and the script just aborted.
This commit is contained in:
parent
6013a706d7
commit
e38a6e6d0d
@ -47,7 +47,8 @@ then
|
||||
PYTHONPATH=$SCRIPT_DIR/python/packages:$SCRIPT_DIR/python/src:$PYTHONPATH
|
||||
env PYTHONPATH=$PYTHONPATH $PYTHON_CMD "$@"
|
||||
exit $?
|
||||
else
|
||||
echo 'No suitable version of Python was found. Python 2.5 or later is required.'
|
||||
fi
|
||||
fi
|
||||
|
||||
# if we get here, it means the right version of Python was not found
|
||||
echo 'No suitable version of Python was found. Python 2.5 or later is required.'
|
||||
|
Loading…
Reference in New Issue
Block a user