From 203bd555a44b3bce6cd0d9444fb3f6596a97a2e0 Mon Sep 17 00:00:00 2001 From: Micheal Quinn Date: Wed, 18 Apr 2018 09:27:05 -0500 Subject: Fixing the addition curly brackets to conform to the rest of the templates usage of a literal curly bracket --- share/spack/templates/modules/modulefile.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %} -- cgit v1.2.3-70-g09d2