Merge branch 'develop' of https://github.com/LLNL/spack into features/custom_modulefile_from_config

This commit is contained in:
alalazo
2016-05-10 11:13:19 +02:00
148 changed files with 3692 additions and 767 deletions

View File

@@ -1,4 +1,4 @@
##############################################################################
#####################################################################
# Copyright (c) 2013, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
@@ -84,7 +84,10 @@ function spack {
if [ "$_sp_arg" = "-h" ]; then
command spack cd -h
else
cd $(spack location $_sp_arg "$@")
LOC="$(spack location $_sp_arg "$@")"
if [[ -d "$LOC" ]] ; then
cd "$LOC"
fi
fi
return
;;