summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMicheal Quinn <quinnm@missouri.edu>2018-04-18 09:27:05 -0500
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2018-08-07 19:56:11 +0200
commit203bd555a44b3bce6cd0d9444fb3f6596a97a2e0 (patch)
treeb1e35b81d658418b5e6fd8b96f40d31b6d36df11 /share
parentd163be6a13b91a5c5b836ddad449a86ec9f55923 (diff)
downloadspack-203bd555a44b3bce6cd0d9444fb3f6596a97a2e0.tar.gz
spack-203bd555a44b3bce6cd0d9444fb3f6596a97a2e0.tar.bz2
spack-203bd555a44b3bce6cd0d9444fb3f6596a97a2e0.tar.xz
spack-203bd555a44b3bce6cd0d9444fb3f6596a97a2e0.zip
Fixing the addition curly brackets to conform to the rest of the templates usage of a literal curly bracket
Diffstat (limited to 'share')
-rw-r--r--share/spack/templates/modules/modulefile.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/templates/modules/modulefile.tcl b/share/spack/templates/modules/modulefile.tcl
index 597dd95206..87edc10a64 100644
--- a/share/spack/templates/modules/modulefile.tcl
+++ b/share/spack/templates/modules/modulefile.tcl
@@ -23,7 +23,7 @@ proc ModulesHelp { } {
{% block autoloads %}
{% for module in autoload %}
-if { [ module-info mode load ] && ![ is-loaded {{ module }} ] } {{ '{' }}
+if {{ '{' }} [ module-info mode load ] && ![ is-loaded {{ module }} ] {{ '}' }} {{ '{' }}
{% if verbose %}
puts stderr "Autoloading {{ module }}"
{% endif %}