We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a69b4e6 commit 47406acCopy full SHA for 47406ac
1 file changed
eessi_container.sh
@@ -1040,7 +1040,7 @@ for arg in "${PASS_THROUGH[@]}"; do
1040
done
1041
1042
# using a sandbox image mode is more robust at the cleanup phase at the end
1043
-CONTAINER_SANDBOX=CONTAINER.removesuffix(".sif") + ".sandbox"
+CONTAINER_SANDBOX="${CONTAINER%.sif}.sandbox"
1044
echo "Building a sandbox image with command (next line):"
1045
echo "singularity build --sandbox ${CONTAINER_SANDBOX} ${CONTAINER}"
1046
echo "Launching sandbox container with command (next line):"
0 commit comments