From 665d69d0bd17e17e4314dccc84aa774c2e4b150c Mon Sep 17 00:00:00 2001 From: maroy Date: Tue, 2 Aug 2005 06:16:25 +0000 Subject: [PATCH] running configure after autogen if needed --- livesupport/configure | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/livesupport/configure b/livesupport/configure index 8b025cf75..263513163 100755 --- a/livesupport/configure +++ b/livesupport/configure @@ -22,7 +22,7 @@ # # # Author : $Author: maroy $ -# Version : $Revision: 1.2 $ +# Version : $Revision: 1.3 $ # Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/configure,v $ #------------------------------------------------------------------------------- @@ -44,9 +44,9 @@ tmpdir=$basedir/tmp autogen=$bindir/autogen.sh configure=$tmpdir/configure -if [ -x $configure ]; then - (cd $tmpdir && $configure $*) -else +if [ ! -x $configure ]; then (cd $basedir && $autogen $*) fi +(cd $tmpdir && $configure $*) +