From 5b9e0a77507b1dd0d30abde58e9146220fce52d6 Mon Sep 17 00:00:00 2001 From: Michael <m.langguth@fz-juelich.de> Date: Tue, 13 Jul 2021 13:49:56 +0200 Subject: [PATCH] Some small bugfixes in create_env.sh. --- video_prediction_tools/env_setup/create_env.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/video_prediction_tools/env_setup/create_env.sh b/video_prediction_tools/env_setup/create_env.sh index 82be2158..750abfb9 100755 --- a/video_prediction_tools/env_setup/create_env.sh +++ b/video_prediction_tools/env_setup/create_env.sh @@ -137,6 +137,7 @@ if [[ "$ENV_EXIST" == 0 ]]; then # unset PYTHONPATH on every other machine that is not a known HPC-system unset PYTHONPATH fi +fi ## set up virtual environment if [[ "$ENV_EXIST" == 0 ]]; then @@ -209,6 +210,7 @@ fi echo "Set up runscript template for user ${USER}..." if [[ -z "${base_dir}" ]]; then + shift source "${WORKING_DIR}"/utils/runscript_generator/setup_runscript_templates.sh else source "${WORKING_DIR}"/utils/runscript_generator/setup_runscript_templates.sh ${base_dir} -- GitLab