summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Gartung <gartung@fnal.gov>2016-03-31 14:07:03 -0500
committerPatrick Gartung <gartung@fnal.gov>2016-03-31 14:07:03 -0500
commit87b70e2cb45660c5c037dfce963c5dc946b2daf5 (patch)
treef8226dee4b2072ff9396c2308380120225f3c6b3
parentd96ea5ba0075c63e8cd042337a1d99225b92b2d5 (diff)
downloadspack-87b70e2cb45660c5c037dfce963c5dc946b2daf5.tar.gz
spack-87b70e2cb45660c5c037dfce963c5dc946b2daf5.tar.bz2
spack-87b70e2cb45660c5c037dfce963c5dc946b2daf5.tar.xz
spack-87b70e2cb45660c5c037dfce963c5dc946b2daf5.zip
remove the part I added to setup-env.sh as this does not work unless the modules package is already built.
-rwxr-xr-xshare/spack/setup-env.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/share/spack/setup-env.sh b/share/spack/setup-env.sh
index 529517ff83..764af68400 100755
--- a/share/spack/setup-env.sh
+++ b/share/spack/setup-env.sh
@@ -176,13 +176,3 @@ _spack_pathadd PATH "${_sp_prefix%/}/bin"
_sp_sys_type=$(spack-python -c 'print(spack.architecture.sys_type())')
_spack_pathadd DK_NODE "${_sp_share_dir%/}/dotkit/$_sp_sys_type"
_spack_pathadd MODULEPATH "${_sp_share_dir%/}/modules/$_sp_sys_type"
-
-#
-# Use spack built modules package if available
-# for system that does not have it
-#
-
-_modules_install_path=$(command spack location -i modules)
-if [ -n "$_modules_install_path" ] ; then
- . $_modules_install_path/Modules/init/sh
-fi