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

Bugfix in 'generate_workflow_runscripts.sh': Add quotes around name of virtual...

Bugfix in 'generate_workflow_runscripts.sh': Add quotes around name of virtual environment when written runscripts.
parent 77e4962e
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@ fi
# set virtual environment to be used in Batch scripts
if [[ `grep "VIRT_ENV_NAME=" ${target_script}` ]]; then
sed -i "s/VIRT_ENV_NAME=.*/VIRT_ENV_NAME=${curr_venv}/g" ${target_script}
sed -i 's/VIRT_ENV_NAME=.*/VIRT_ENV_NAME="'${curr_venv}'"/g' ${target_script}
fi
# also adapt name output- and error-files of submitted job with exp_id (if we are on Juwels or HDF-ML)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment