diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-05-11 08:59:23 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-05-11 08:59:23 -0700 |
commit | fd5d89b61c3de47942c51511984fe4c308b70e5d (patch) | |
tree | c246c2d0694a69523fe97420c3e3d3cde30c8dea /share | |
parent | eaf046c6a426f9426a7a1034a4f9acc80dea8123 (diff) | |
parent | bb4b6c8ee24aa81af6b6ee3a62692a624d52d65a (diff) | |
download | spack-fd5d89b61c3de47942c51511984fe4c308b70e5d.tar.gz spack-fd5d89b61c3de47942c51511984fe4c308b70e5d.tar.bz2 spack-fd5d89b61c3de47942c51511984fe4c308b70e5d.tar.xz spack-fd5d89b61c3de47942c51511984fe4c308b70e5d.zip |
Merge branch 'custom_modulefiles_from_config' of https://github.com/epfl-scitas/spack into epfl-scitas-custom_modulefiles_from_config
Diffstat (limited to 'share')
-rwxr-xr-x | share/spack/setup-env.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/spack/setup-env.sh b/share/spack/setup-env.sh index 11a4c0a70c..dba6f1eff4 100755 --- a/share/spack/setup-env.sh +++ b/share/spack/setup-env.sh @@ -41,7 +41,7 @@ # commands. This allows the user to use packages without knowing all # their installation details. # -# e.g., rather than requring a full spec for libelf, the user can type: +# e.g., rather than requiring a full spec for libelf, the user can type: # # spack use libelf # @@ -113,11 +113,11 @@ function spack { unuse $_sp_module_args $_sp_full_spec fi ;; "load") - if _sp_full_spec=$(command spack $_sp_flags module find dotkit $_sp_spec); then + if _sp_full_spec=$(command spack $_sp_flags module find tcl $_sp_spec); then module load $_sp_module_args $_sp_full_spec fi ;; "unload") - if _sp_full_spec=$(command spack $_sp_flags module find dotkit $_sp_spec); then + if _sp_full_spec=$(command spack $_sp_flags module find tcl $_sp_spec); then module unload $_sp_module_args $_sp_full_spec fi ;; esac |