tcl module file : added new-lines in autoload (per @glennpj bug report)
This commit is contained in:
parent
1714f410f0
commit
a5a5dbc408
@ -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'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user