Skip to content

Commit 3f87df9

Browse files
Update eessi_container.sh
Co-authored-by: Bob Dröge <b.e.droge@rug.nl>
1 parent fe3541e commit 3f87df9

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
@@ -1047,7 +1047,7 @@ for arg in "${PASS_THROUGH[@]}"; do
10471047
done
10481048

10491049
# EESSI_SINGULARITY_SANDBOX is an environment variable (typically set in site_config.sh, if needed)
1050-
if [[ -n "$EESSI_SINGULARITY_SANDBOX" || $SANDBOX -eq 1 ]]; then
1050+
if [[ -n "${EESSI_SINGULARITY_SANDBOX}" || ${SANDBOX} -eq 1 ]]; then
10511051
# using a sandbox image mode is more robust at the cleanup phase at the end
10521052
CONTAINER_SANDBOX="${CONTAINER%.sif}.sandbox"
10531053
echo "Building a sandbox image with command (next line):"

0 commit comments

Comments
 (0)