platformtest.sh: Only generate configure script when missing
authorAlexander Barton <alex@barton.de>
Tue, 13 Nov 2012 22:21:09 +0000 (23:21 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 13 Nov 2012 22:21:09 +0000 (23:21 +0100)
contrib/platformtest.sh

index cc42434..cfa1ecc 100755 (executable)
@@ -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