diff options
| -rw-r--r-- | pilot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ error() { set_container() { [ -f "${1}" ] || error "Container ${1} does not exist." - CWL_SINGULARITY_CACHE="${1%/*}" + CWL_SINGULARITY_CACHE="${CWL_SINGULARITY_CACHE:-$1%/*}" if [ ! "${1##*/}" == "vlbi-cwl.sif" ]; then ln -sf "${1}" "$CWL_SINGULARITY_CACHE/vlbi-cwl.sif" fi |