summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2017-04-20 03:05:44 -0700
committerGitHub <noreply@github.com>2017-04-20 03:05:44 -0700
commitfa3e91bf2a9db82568793f11c90f531c93d75ecb (patch)
treeea16b2d1f1cbdc993778570474e7a400a8a37705 /share
parent50d7b335634d4cece65c819551e5370ec7cc126d (diff)
downloadspack-fa3e91bf2a9db82568793f11c90f531c93d75ecb.tar.gz
spack-fa3e91bf2a9db82568793f11c90f531c93d75ecb.tar.bz2
spack-fa3e91bf2a9db82568793f11c90f531c93d75ecb.tar.xz
spack-fa3e91bf2a9db82568793f11c90f531c93d75ecb.zip
Revert "Add lmod files to MODULEPATH" (#3917)
* Revert "Add lmod files to MODULEPATH (#3912)" This reverts commit 186d1f4511c8aa3bc5ce661b1e883db10e20958a.
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/setup-env.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/share/spack/setup-env.sh b/share/spack/setup-env.sh
index 1b40b1d7bb..a67ae04b24 100755
--- a/share/spack/setup-env.sh
+++ b/share/spack/setup-env.sh
@@ -196,10 +196,8 @@ _spack_pathadd PATH "${_sp_prefix%/}/bin"
_sp_sys_type=$(spack-python -c 'print(spack.architecture.sys_type())')
_sp_dotkit_root=$(spack-python -c "print(spack.util.path.canonicalize_path(spack.config.get_config('config').get('module_roots', {}).get('dotkit')))")
_sp_tcl_root=$(spack-python -c "print(spack.util.path.canonicalize_path(spack.config.get_config('config').get('module_roots', {}).get('tcl')))")
-_sp_lmod_root=$(spack-python -c "print(spack.util.path.canonicalize_path(spack.config.get_config('config').get('module_roots', {}).get('lmod')))")
_spack_pathadd DK_NODE "${_sp_dotkit_root%/}/$_sp_sys_type"
_spack_pathadd MODULEPATH "${_sp_tcl_root%/}/$_sp_sys_type"
-_spack_pathadd MODULEPATH "${_sp_lmod_root%/}/$_sp_sys_type"
#
# Add programmable tab completion for Bash