Skip to content

Commit

Permalink
#3708: Remove unnecessary varoable in dkrz-env file
Browse files Browse the repository at this point in the history
  • Loading branch information
ehogan committed Dec 18, 2024
1 parent 8ec835e commit dc8dcae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions esmvaltool/utils/recipe_test_workflow/site/dkrz-env
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export PYTHONNOUSERSITE=True
WORKFLOW_RUN_BIN_DIR="${CYLC_WORKFLOW_RUN_DIR}/bin"
WORKFLOW_SHARE_BIN_DIR="${CYLC_WORKFLOW_SHARE_DIR}/cycle/bin"
ROSE_APP_BIN_DIR="${CYLC_WORKFLOW_RUN_DIR}/app/${ROSE_TASK_APP:-$CYLC_TASK_NAME}/bin"
CONTAINER=${CONTAINER_PATH}

# Bind paths for container. Where symbolic links are used in file paths (e.g.
# under /badc/cmip6 and /home/users) need to bind the root dirs of both the
Expand Down Expand Up @@ -55,6 +54,6 @@ if [[ -z ${QUIET_MODE:-} ]]; then
echo "[INFO] Using the ${ENV_NAME} container"
fi

singularity_command="singularity-env singularity -q exec ${CONTAINER} $@"
singularity_command="singularity-env singularity -q exec ${CONTAINER_PATH} $@"
command="/usr/bin/time -v -o ${CYLC_TASK_LOG_ROOT}.time ${singularity_command}"
exec ${command}

0 comments on commit dc8dcae

Please sign in to comment.