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

Correction to wrapper_container.sh to allow for execution from no_HPC_scripts-directory.

parent 68e71f17
Branches
Tags
No related merge requests found
......@@ -8,11 +8,11 @@ VENV_DIR=$WORKING_DIR/virtual_envs/$1
shift # replaces $1 by $2, so that $@ does not include the name of the virtual environment anymore
# sanity checks
if [[ "${EXE_DIR}" = "HPC_scripts" ]] || [[ "${EXE_DIR}" = "JSC_scripts" ]];
if [[ "${EXE_DIR}" = "HPC_scripts" ]] || [[ "${EXE_DIR}" = "no_HPC_scripts" ]];
then
echo "The runscript is running under the folder ${EXE_DIR}"
else
echo "ERROR: Run the setup-script for the enviornment from the HPC_scripts-directory!"
echo "ERROR: Run the setup-script for the enviornment from the (no_)HPC_scripts-directory!"
exit
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment