Skip to content

Commit 5521f8a

Browse files
committed
tcl: Fix modulefile magic cookie header
A version number set over the '#%Module' magic cookie should be appended right after this string, no space character between the magic cookie and the version number. Magic cookie version number now indicates the minimum Environment Modules version required to interpret the modulefile. For shpc use case, it does not seem needed to precise such version number. More details on modulefile magic cookie: https://modules.readthedocs.io/en/latest/modulefile.html#description
1 parent a5a0e0a commit 5521f8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

shpc/main/modules/templates/docker.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#%Module 1.0
1+
#%Module
22

33
#=====
44
# Created by singularity-hpc (https://github.com/singularityhub/singularity-hpc)

shpc/main/modules/templates/singularity.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#%Module 1.0
1+
#%Module
22

33
#=====
44
# Created by singularity-hpc (https://github.com/singularityhub/singularity-hpc)

0 commit comments

Comments
 (0)