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

This commit is contained in:
Massimiliano Culpo 2016-04-10 13:21:41 +02:00
parent 1714f410f0
commit a5a5dbc408

View File

@ -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'