From fa3e91bf2a9db82568793f11c90f531c93d75ecb Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Thu, 20 Apr 2017 03:05:44 -0700 Subject: Revert "Add lmod files to MODULEPATH" (#3917) * Revert "Add lmod files to MODULEPATH (#3912)" This reverts commit 186d1f4511c8aa3bc5ce661b1e883db10e20958a. --- share/spack/setup-env.sh | 2 -- 1 file changed, 2 deletions(-) (limited to 'share') 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 -- cgit v1.2.3-70-g09d2