aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthijs van der Wild <matthijs.van-der-wild@durham.ac.uk>2025-04-07 09:49:16 +0100
committerMatthijs van der Wild <matthijs.van-der-wild@durham.ac.uk>2025-04-07 09:49:16 +0100
commit5cbd46d2c6260bb8fe60ef0d779eb024ae10f849 (patch)
tree541b5a664bb2fb0ad3b5ce67e8a6ee1befd67e86
parent284168295f41abeaef7c3a31f6de4392ca4ce888 (diff)
create vlbi-cwl_latest.sif symlink
In some versions of toil the `:latest` tag appears to be automatically appended. This is a workaround for these versions.
-rw-r--r--pilot.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/pilot.sh b/pilot.sh
index 9bd2733..c4b16a6 100644
--- a/pilot.sh
+++ b/pilot.sh
@@ -15,6 +15,7 @@ set_container() {
CWL_SINGULARITY_CACHE="${CWL_SINGULARITY_CACHE:-$1%/*}"
if [ ! "${1##*/}" == "vlbi-cwl.sif" ]; then
ln -sf "${1}" "$CWL_SINGULARITY_CACHE/vlbi-cwl.sif"
+ ln -sf "${1}" "$CWL_SINGULARITY_CACHE/vlbi-cwl_latest.sif"
fi
}