summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMatthias Diener <matthias.diener@gmail.com>2018-08-14 02:28:43 -0500
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2018-08-14 09:28:43 +0200
commita1e08f009d1520fe75d667d6bfbfc7a32d7c6561 (patch)
tree776005cfeef5de7dac6554751c8aa602f0f4871b /share
parent783435c1def87cd2a8012c9ac93aaabb08af9a0e (diff)
downloadspack-a1e08f009d1520fe75d667d6bfbfc7a32d7c6561.tar.gz
spack-a1e08f009d1520fe75d667d6bfbfc7a32d7c6561.tar.bz2
spack-a1e08f009d1520fe75d667d6bfbfc7a32d7c6561.tar.xz
spack-a1e08f009d1520fe75d667d6bfbfc7a32d7c6561.zip
Csh: fix load/use commands (#8971)
Diffstat (limited to 'share')
-rw-r--r--share/spack/csh/spack.csh8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/spack/csh/spack.csh b/share/spack/csh/spack.csh
index 5acd190449..bf23ab9ff3 100644
--- a/share/spack/csh/spack.csh
+++ b/share/spack/csh/spack.csh
@@ -74,25 +74,25 @@ case unload:
# tool's commands to add/remove the result from the environment.
switch ($_sp_subcommand)
case "use":
- set _sp_full_spec = ( "`\spack $_sp_flags module find --module-type dotkit $_sp_spec`" )
+ set _sp_full_spec = ( "`\spack $_sp_flags module dotkit find $_sp_spec`" )
if ( $? == 0 ) then
use $_sp_module_args $_sp_full_spec
endif
breaksw
case "unuse":
- set _sp_full_spec = ( "`\spack $_sp_flags module find --module-type dotkit $_sp_spec`" )
+ set _sp_full_spec = ( "`\spack $_sp_flags module dotkit find $_sp_spec`" )
if ( $? == 0 ) then
unuse $_sp_module_args $_sp_full_spec
endif
breaksw
case "load":
- set _sp_full_spec = ( "`\spack $_sp_flags module find --module-type tcl $_sp_spec`" )
+ set _sp_full_spec = ( "`\spack $_sp_flags module tcl find $_sp_spec`" )
if ( $? == 0 ) then
module load $_sp_module_args $_sp_full_spec
endif
breaksw
case "unload":
- set _sp_full_spec = ( "`\spack $_sp_flags module find --module-type tcl $_sp_spec`" )
+ set _sp_full_spec = ( "`\spack $_sp_flags module tcl find $_sp_spec`" )
if ( $? == 0 ) then
module unload $_sp_module_args $_sp_full_spec
endif