aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@9e23cc15-e5c8-4d65-9080-beda90ea645b>2010-02-13 22:47:49 +0000
committerschnetter <schnetter@9e23cc15-e5c8-4d65-9080-beda90ea645b>2010-02-13 22:47:49 +0000
commit86c094158d5340887cfcf1a1c3fc7fac7eff773c (patch)
tree85a3e0075a1f1b330e8594b20da99ce752e8c1f1
parent819dc3676414397c2c43470b875e3f50aa81c350 (diff)
Reformat if statement
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/GSL/trunk@7 9e23cc15-e5c8-4d65-9080-beda90ea645b
-rw-r--r--GSL.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/GSL.sh b/GSL.sh
index 6e7de14..f39321f 100644
--- a/GSL.sh
+++ b/GSL.sh
@@ -29,7 +29,9 @@ unset MAKEFLAGS
set -x # Output commands
set -e # Abort on errors
cd ${INSTALL_DIR}
- if [ -e done-${NAME} -a done-${NAME} -nt ${SRCDIR}/dist/${NAME}.tar.gz ]; then
+ if [ -e done-${NAME} -a done-${NAME} -nt ${SRCDIR}/dist/${NAME}.tar.gz \
+ -a done-${NAME} -nt ${SRCDIR}/GSL.sh ]
+ then
echo "GSL: The enclosed GSL library has already been built; doing nothing"
else
echo "GSL: Building enclosed GSL library"