Skip to content
Snippets Groups Projects
Commit a5a5dbc4 authored by Massimiliano Culpo's avatar Massimiliano Culpo
Browse files

tcl module file : added new-lines in autoload (per @glennpj bug report)

parent 1714f410
No related branches found
No related tags found
No related merge requests found
...@@ -372,10 +372,10 @@ class TclModule(EnvModule): ...@@ -372,10 +372,10 @@ class TclModule(EnvModule):
UnsetEnv: 'unsetenv {name}\n' UnsetEnv: 'unsetenv {name}\n'
} }
autoload_format = ('if ![ is-loaded {module_file} ] {{' autoload_format = ('if ![ is-loaded {module_file} ] {{\n'
' puts stderr "Autoloading {module_file}"' ' puts stderr "Autoloading {module_file}"\n'
' module load {module_file}' ' module load {module_file}\n'
'}}') '}}\n')
prerequisite_format = 'prereq {module_file}\n' prerequisite_format = 'prereq {module_file}\n'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment