From d8c45763d9b38aaba28d6ac2434292d18241b0ab Mon Sep 17 00:00:00 2001 From: eschnett Date: Sun, 16 Sep 2012 23:06:42 +0000 Subject: Ensure that PATCH and TAR are defined git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/MPI/trunk@9 043a8217-7a68-40fe-abfd-36aa7d4fa6a8 --- configure.sh | 5 +++-- 1 file 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} -- cgit v1.2.3