diff options
author | alalazo <massimiliano.culpo@googlemail.com> | 2016-03-18 16:02:44 +0100 |
---|---|---|
committer | alalazo <massimiliano.culpo@googlemail.com> | 2016-03-18 16:02:44 +0100 |
commit | 1e468c55414822365b4ba7f7c52fbfdb5f30d3b2 (patch) | |
tree | b1fd85c94b5c5282334c151596d239650d0d55f6 | |
parent | ccd90df62ffd69b5c3b4e1f8dbaf82146721a52a (diff) | |
download | spack-1e468c55414822365b4ba7f7c52fbfdb5f30d3b2.tar.gz spack-1e468c55414822365b4ba7f7c52fbfdb5f30d3b2.tar.bz2 spack-1e468c55414822365b4ba7f7c52fbfdb5f30d3b2.tar.xz spack-1e468c55414822365b4ba7f7c52fbfdb5f30d3b2.zip |
modules : added formats mapping
-rw-r--r-- | lib/spack/spack/modules.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/spack/spack/modules.py b/lib/spack/spack/modules.py index bb1a444e5a..0378110c8c 100644 --- a/lib/spack/spack/modules.py +++ b/lib/spack/spack/modules.py @@ -256,7 +256,10 @@ class TclModule(EnvModule): formats = { PrependPath: 'prepend-path {name} \"{value}\"\n', - SetEnv: 'setenv {name} \"{value}\"\n' + AppendPath: 'append-path {name} \"{value}\"\n', + RemovePath: 'remove-path {name} \"{value}\"\n', + SetEnv: 'setenv {name} \"{value}\"\n', + UnsetEnv: 'unsetenv {name}\n' } @property |