Changeset 14205


Ignore:
Timestamp:
Nov 28, 2019 9:04:36 AM (8 days ago)
Author:
randersson
Message:

#5819 Updated to jm_python/ipython scripts to check for directory and not for file

Location:
branches/dev-2385/Python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-2385/Python/jm_ipython.sh.in

    r14176 r14205  
    1515if [ "${PY_VENV_PATH}" != "EMPTY" ]; then
    1616    . ${PY_VENV_PATH}/bin/activate
    17 elif [[ -f "${FILE_DIR}/../../py3venv" ]]; then
     17elif [[ -d "${FILE_DIR}/../../py3venv" ]]; then
    1818    . ${FILE_DIR}/../../py3venv/bin/activate
    1919fi
  • branches/dev-2385/Python/jm_python.sh.in

    r14176 r14205  
    1515if [ "${PY_VENV_PATH}" != "EMPTY" ]; then
    1616    . ${PY_VENV_PATH}/bin/activate
    17 elif [[ -f "${FILE_DIR}/../../py3venv" ]]; then
     17elif [[ -d "${FILE_DIR}/../../py3venv" ]]; then
    1818    . ${FILE_DIR}/../../py3venv/bin/activate
    1919fi
Note: See TracChangeset for help on using the changeset viewer.