Skip to content

Commit 3685f0e

Browse files
committed
clarify use of quoted 'EOF' delimiter when switching to 'easybuild' user in Singularity definition file
1 parent 69121de commit 3685f0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

easybuild/tools/containers/singularity.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
EOF
9696
9797
# switch to 'easybuild' user for following commands
98+
# quotes around EOF delimiter are important to ensure environment variables are not expanded prematurely!
9899
su - easybuild << 'EOF'
99100
100101
# verbose commands, exit on first error

0 commit comments

Comments
 (0)