From fda63576a1e847ca4f1301e9849ed61e1b0e1df7 Mon Sep 17 00:00:00 2001 From: Brian Carrier Date: Wed, 13 Jan 2010 14:02:18 +0000 Subject: [PATCH] fixed configure error for new builds --- configure | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 21d347c12f..da20797ffb 100755 --- a/configure +++ b/configure @@ -61,10 +61,15 @@ echo "" conf='conf.pl' +rep="" if (test -f $conf) then echo "A configuration file already exists, overwrite? (y/n):"; read rep; - if (test "$rep" = "y") then +else + rep="y" +fi + +if (test "$rep" = "y") then # First add the variables that are static @@ -367,8 +372,6 @@ fi echo \$LOCKDIR = \'${locker}\'\; >> $conf; - - fi fi # Start of non-conf.pl file configuration