From 1dcaddca1babea02f5de4638034e0cc3d235ff6a Mon Sep 17 00:00:00 2001 From: eschnett Date: Sun, 16 Sep 2012 23:06:26 +0000 Subject: Ensure that PATCH and TAR are defined git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/LORENE/trunk@38 5c1b1641-b641-47ec-b3d9-0f93d4c445ee --- configure.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configure.sh b/configure.sh index 04bd849..59335a1 100644 --- a/configure.sh +++ b/configure.sh @@ -88,16 +88,16 @@ then echo "LORENE: Unpacking archive..." pushd ${BUILD_DIR} - ${TAR} xzf ${SRCDIR}/dist/${NAME}.tar.gz - ${PATCH} -p0 < ${SRCDIR}/dist/des.patch - ${PATCH} -p0 < ${SRCDIR}/dist/makesystem.patch - ${PATCH} -p0 < ${SRCDIR}/dist/pgplot.patch - ${PATCH} -p0 < ${SRCDIR}/dist/openmp.patch - ${PATCH} -p0 < ${SRCDIR}/dist/check_fopen_error.patch + ${TAR?} xzf ${SRCDIR}/dist/${NAME}.tar.gz + ${PATCH?} -p0 < ${SRCDIR}/dist/des.patch + ${PATCH?} -p0 < ${SRCDIR}/dist/makesystem.patch + ${PATCH?} -p0 < ${SRCDIR}/dist/pgplot.patch + ${PATCH?} -p0 < ${SRCDIR}/dist/openmp.patch + ${PATCH?} -p0 < ${SRCDIR}/dist/check_fopen_error.patch # Some (ancient but still used) versions of patch don't support the # patch format used here but also don't report an error using the # exit code. So we use this patch to test for this - ${PATCH} -p0 < ${SRCDIR}/dist/patchtest.patch + ${PATCH?} -p0 < ${SRCDIR}/dist/patchtest.patch if [ ! -e Lorene/.patch_tmp ]; then echo 'BEGIN ERROR' echo 'The version of patch is too old to understand this patch format.' -- cgit v1.2.3