Changeset 14176


Ignore:
Timestamp:
Nov 26, 2019 10:02:00 AM (2 weeks ago)
Author:
aramle
Message:

#5877 Update how PY_VENV_PATH is checked

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

Legend:

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

    r14170 r14176  
    1212cd ${CURRENT_DIR}
    1313
    14 if [[ -z "${PY_VENV_PATH}" ]]; then
     14PY_VENV_PATH="${PY_VENV_PATH:-EMPTY}"
     15if [ "${PY_VENV_PATH}" != "EMPTY" ]; then
    1516    . ${PY_VENV_PATH}/bin/activate
    1617elif [[ -f "${FILE_DIR}/../../py3venv" ]]; then
    1718    . ${FILE_DIR}/../../py3venv/bin/activate
    18 fi   
     19fi
    1920
    2021#Set variables using relative paths
  • branches/dev-2385/Python/jm_python.sh.in

    r14170 r14176  
    1212cd ${CURRENT_DIR}
    1313
    14 if [[ -z "${PY_VENV_PATH}" ]]; then
     14PY_VENV_PATH="${PY_VENV_PATH:-EMPTY}"
     15if [ "${PY_VENV_PATH}" != "EMPTY" ]; then
    1516    . ${PY_VENV_PATH}/bin/activate
    1617elif [[ -f "${FILE_DIR}/../../py3venv" ]]; then
Note: See TracChangeset for help on using the changeset viewer.