Skip to content
Snippets Groups Projects
Commit 5b9e0a77 authored by Michael Langguth's avatar Michael Langguth
Browse files

Some small bugfixes in create_env.sh.

parent 149d7825
No related branches found
No related tags found
No related merge requests found
Pipeline #73046 passed
...@@ -137,6 +137,7 @@ if [[ "$ENV_EXIST" == 0 ]]; then ...@@ -137,6 +137,7 @@ if [[ "$ENV_EXIST" == 0 ]]; then
# unset PYTHONPATH on every other machine that is not a known HPC-system # unset PYTHONPATH on every other machine that is not a known HPC-system
unset PYTHONPATH unset PYTHONPATH
fi fi
fi
## set up virtual environment ## set up virtual environment
if [[ "$ENV_EXIST" == 0 ]]; then if [[ "$ENV_EXIST" == 0 ]]; then
...@@ -209,6 +210,7 @@ fi ...@@ -209,6 +210,7 @@ fi
echo "Set up runscript template for user ${USER}..." echo "Set up runscript template for user ${USER}..."
if [[ -z "${base_dir}" ]]; then if [[ -z "${base_dir}" ]]; then
shift
source "${WORKING_DIR}"/utils/runscript_generator/setup_runscript_templates.sh source "${WORKING_DIR}"/utils/runscript_generator/setup_runscript_templates.sh
else else
source "${WORKING_DIR}"/utils/runscript_generator/setup_runscript_templates.sh ${base_dir} source "${WORKING_DIR}"/utils/runscript_generator/setup_runscript_templates.sh ${base_dir}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment