diff --git a/roles/bin/templates/bin/CTP_SRAnonTool.sh b/roles/bin/templates/bin/CTP_SRAnonTool.sh index a0edbac..b277406 100755 --- a/roles/bin/templates/bin/CTP_SRAnonTool.sh +++ b/roles/bin/templates/bin/CTP_SRAnonTool.sh @@ -18,12 +18,12 @@ virtenv="" debug=0 verbose=0 -if [ "$ENV_DIR" == "" ]; then - echo "${prog}: ERROR: env var ENV_DIR must be set" >&2 +if [ "$SMI_ENV_DIR" == "" ]; then + echo "${prog}: ERROR: env var SMI_ENV_DIR must be set" >&2 exit 1 fi -PYTHON="${ENV_DIR}/venvs/semehr/bin/python" +PYTHON="${SMI_ENV_DIR}/venvs/semehr/bin/python" if [ ! -f "${PYTHON}" ]; then echo "${prog}: ERROR: Expected to find python at ${PYTHON}" >&2 exit 1