aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@5c1b1641-b641-47ec-b3d9-0f93d4c445ee>2012-09-16 23:06:26 +0000
committereschnett <eschnett@5c1b1641-b641-47ec-b3d9-0f93d4c445ee>2012-09-16 23:06:26 +0000
commit1dcaddca1babea02f5de4638034e0cc3d235ff6a (patch)
tree8dd20b547e5f7c20fd3730ea3db8063357756eea
parent1b692ff57abb5c8886b50ace321d65924fea1f74 (diff)
Ensure that PATCH and TAR are defined
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/LORENE/trunk@38 5c1b1641-b641-47ec-b3d9-0f93d4c445ee
-rw-r--r--configure.sh14
1 files 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.'