summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authoralalazo <massimiliano.culpo@googlemail.com>2016-04-15 12:21:32 +0200
committeralalazo <massimiliano.culpo@googlemail.com>2016-04-18 13:22:04 +0200
commitc69acfa5c80fc4ea93787c19f9f4a6f3cf833f9c (patch)
tree37c9c60d78ac7928269ca150aaed526578dbad14 /share
parent00f44d558ab3b3ee4b9d04534a01ad7decbe0d7b (diff)
downloadspack-c69acfa5c80fc4ea93787c19f9f4a6f3cf833f9c.tar.gz
spack-c69acfa5c80fc4ea93787c19f9f4a6f3cf833f9c.tar.bz2
spack-c69acfa5c80fc4ea93787c19f9f4a6f3cf833f9c.tar.xz
spack-c69acfa5c80fc4ea93787c19f9f4a6f3cf833f9c.zip
naming work correctly
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/setup-env.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/spack/setup-env.sh b/share/spack/setup-env.sh
index 764af68400..0c9e5b2409 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
#
@@ -110,11 +110,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