repo: ngircd
action: commit
revision: 
path_from: 
revision_from: cd48b8128ea514a0fd87033571dbba103e1c41d6:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit cd48b8128ea514a0fd87033571dbba103e1c41d6
Author: Alexander Barton 
Date:   Tue Nov 13 23:21:09 2012 +0100

    platformtest.sh: Only generate configure script when missing

diff --git a/contrib/platformtest.sh b/contrib/platformtest.sh
index cc4243495fdd5ccfbba817f4a28d09f57f52f15f..
index ..cfa1eccc81ea1a6387f936739d614543bdf379c4 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

-----END OF PAGE-----