summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-08-16 14:58:15 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2014-08-16 14:58:15 -0700
commit776560f8ce9f464548cc116117c6a58b686448ff (patch)
treef5b11e503f5fc46817ba01e12a79667d74572bc4 /lib
parent221cf6acb932442f5964243eb3413a1d921920c8 (diff)
downloadspack-776560f8ce9f464548cc116117c6a58b686448ff.tar.gz
spack-776560f8ce9f464548cc116117c6a58b686448ff.tar.bz2
spack-776560f8ce9f464548cc116117c6a58b686448ff.tar.xz
spack-776560f8ce9f464548cc116117c6a58b686448ff.zip
Add csh/tcsh support for modules
- csh scripting is a GIANT pain in the ass - hopefully the thin script layer doesn't get much more complex.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/modules.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/spack/modules.py b/lib/spack/spack/modules.py
index 8ac7e470cb..0f8c417793 100644
--- a/lib/spack/spack/modules.py
+++ b/lib/spack/spack/modules.py
@@ -71,6 +71,7 @@ def print_help():
" . %s/setup-env.sh" % spack.share_path,
"",
"For csh and tcsh:",
+ " setenv SPACK_ROOT %s" % spack.prefix,
" source %s/setup-env.csh" % spack.share_path,
"")