From 6a02614c48ad6647c702a75f1aa3fc361fb5bb9c Mon Sep 17 00:00:00 2001 From: schnetter Date: Tue, 1 Dec 2009 20:39:24 +0000 Subject: Rebuild LORENE when this script changes git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/LORENE/trunk@5 5c1b1641-b641-47ec-b3d9-0f93d4c445ee --- LORENE.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LORENE.sh b/LORENE.sh index 08391f2..9571620 100644 --- a/LORENE.sh +++ b/LORENE.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}/LORENE.sh ] + then echo "LORENE: The enclosed LORENE library has already been built; doing nothing" else echo "LORENE: Building enclosed LORENE library" -- cgit v1.2.3