py-mako and fix for setup-env.sh

This commit is contained in:
Alfredo Gimenez
2015-02-06 16:41:43 -08:00
parent a4ac1977a4
commit d95d48bbe6
2 changed files with 18 additions and 2 deletions

View File

@@ -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"