summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAlfredo Gimenez <gimenez1@llnl.gov>2015-02-06 16:41:43 -0800
committerAlfredo Gimenez <gimenez1@llnl.gov>2015-02-06 16:43:21 -0800
commitd95d48bbe69eed2772bea8d155ccc4f8d708e4d2 (patch)
treedd2a64afbb69818735553f8572542013d0143f0e /share
parenta4ac1977a48ad2f8dddf5f26964e4c93bec490d1 (diff)
downloadspack-d95d48bbe69eed2772bea8d155ccc4f8d708e4d2.tar.gz
spack-d95d48bbe69eed2772bea8d155ccc4f8d708e4d2.tar.bz2
spack-d95d48bbe69eed2772bea8d155ccc4f8d708e4d2.tar.xz
spack-d95d48bbe69eed2772bea8d155ccc4f8d708e4d2.zip
py-mako and fix for setup-env.sh
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/setup-env.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/spack/setup-env.sh b/share/spack/setup-env.sh
index 91b1dc4630..b2bcbaf6c7 100755
--- a/share/spack/setup-env.sh
+++ b/share/spack/setup-env.sh
@@ -165,8 +165,8 @@ fi
#
# Set up modules and dotkit search paths in the user environment
#
-_sp_share_dir="$(dirname $_sp_source_file)"
-_sp_prefix="$(dirname $(dirname $_sp_share_dir))"
+_sp_share_dir=$(cd "$(dirname $_sp_source_file)" && pwd)
+_sp_prefix=$(cd "$(dirname $(dirname $_sp_share_dir))" && pwd)
# TODO: fix SYS_TYPE to something non-LLNL-specific
_spack_pathadd DK_NODE "$_sp_share_dir/dotkit/$SYS_TYPE"