From: Alexander Barton Date: Tue, 13 Nov 2012 22:21:09 +0000 (+0100) Subject: platformtest.sh: Only generate configure script when missing X-Git-Tag: rel-20-rc2~6 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=cd48b8128ea514a0fd87033571dbba103e1c41d6 platformtest.sh: Only generate configure script when missing --- diff --git a/contrib/platformtest.sh b/contrib/platformtest.sh index cc424349..cfa1eccc 100755 --- a/contrib/platformtest.sh +++ b/contrib/platformtest.sh @@ -54,8 +54,8 @@ if [ $? -ne 0 ]; then cd .. fi -echo "$NAME: Checking for \"./autogen.sh\" script ..." -if [ -r ./autogen.sh ]; then +echo "$NAME: Checking for \"./configure\" script ..." +if [ ! -e ./configure ]; then echo "$NAME: Running \"./autogen.sh\" ..." [ -n "$VERBOSE" ] && ./autogen.sh || ./autogen.sh >/dev/null fi