Skip to content

Commit 47406ac

Browse files
committed
Now with correct bash syntax
1 parent a69b4e6 commit 47406ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eessi_container.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ for arg in "${PASS_THROUGH[@]}"; do
10401040
done
10411041

10421042
# using a sandbox image mode is more robust at the cleanup phase at the end
1043-
CONTAINER_SANDBOX=CONTAINER.removesuffix(".sif") + ".sandbox"
1043+
CONTAINER_SANDBOX="${CONTAINER%.sif}.sandbox"
10441044
echo "Building a sandbox image with command (next line):"
10451045
echo "singularity build --sandbox ${CONTAINER_SANDBOX} ${CONTAINER}"
10461046
echo "Launching sandbox container with command (next line):"

0 commit comments

Comments
 (0)