diff options
author | eschnett <eschnett@043a8217-7a68-40fe-abfd-36aa7d4fa6a8> | 2012-09-16 23:06:42 +0000 |
---|---|---|
committer | eschnett <eschnett@043a8217-7a68-40fe-abfd-36aa7d4fa6a8> | 2012-09-16 23:06:42 +0000 |
commit | d8c45763d9b38aaba28d6ac2434292d18241b0ab (patch) | |
tree | 36f332d5a717dd85c3eb0743da8e28e6d20667d9 | |
parent | 9b9a3698086014bf19e346ed29028b60a72e719b (diff) |
Ensure that PATCH and TAR are defined
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/MPI/trunk@9 043a8217-7a68-40fe-abfd-36aa7d4fa6a8
-rw-r--r-- | configure.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.sh b/configure.sh index f3d7402..c4a0372 100644 --- a/configure.sh +++ b/configure.sh @@ -66,7 +66,7 @@ fi # Build ################################################################################ -if [ -z "${MPI_DIR}" \ +if [ -z "${MPI_DIR}" \ -o "$(echo "${MPI_DIR}" | tr '[a-z]' '[A-Z]')" = 'BUILD' ] then echo "BEGIN MESSAGE" @@ -76,6 +76,7 @@ then # Set locations THORN=MPI NAME=openmpi-1.6 + #NAME=openmpi-1.6.1 SRCDIR=$(dirname $0) BUILD_DIR=${SCRATCH_BUILD}/build/${THORN} if [ -z "${MPI_INSTALL_DIR}"]; then @@ -134,7 +135,7 @@ then echo "MPI: Unpacking archive..." pushd ${BUILD_DIR} - ${TAR} xzf ${SRCDIR}/dist/${NAME}.tar.gz + ${TAR?} xzf ${SRCDIR}/dist/${NAME}.tar.gz echo "MPI: Configuring..." cd ${NAME} |