Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2002 17:07:40 +0100 (CET)
From:      Palle Girgensohn <girgen@partitur.se>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35143: postgresql build won't stop even if you chose to stop
Message-ID:  <200202201607.g1KG7eJ12842@elbas.partitur.se>

next in thread | raw e-mail | index | archive | help

>Number:         35143
>Category:       ports
>Synopsis:       postgresql build won't stop even if you chose to stop
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 20 08:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
Partitur
>Environment:
System: FreeBSD elbas.partitur.se 4.5-RELEASE FreeBSD 4.5-RELEASE #3: Tue Feb 5 21:59:47 CET 2002 girgen@optogan.partitur.se:/usr/obj/usr/src/sys/WORKSTATION i386

the new postgresql7 port for 7.2
	
>Description:
the build process of databases/postgresq7 begins by warning about a
dump/restore beeing required before installing. The should be able to
exit at that point, but this does not work due to a typo.

	
>How-To-Repeat:
make ... "select yes to continue" .. select "no", and the installation
continues...

Reported and fixed by: Jimmy Olgeni
	
>Fix:

	


Index: scripts/configure.postgresql
===================================================================
RCS file: /net/elbas/opt/ncvs/ports/databases/postgresql7/scripts/configure.postgresql,v
retrieving revision 1.8
diff -u -r1.8 configure.postgresql
--- scripts/configure.postgresql	19 Feb 2002 08:23:22 -0000	1.8
+++ scripts/configure.postgresql	20 Feb 2002 15:49:04 -0000
@@ -17,7 +17,7 @@
 required. This is *NOT* done by the port!
 
 Select 'Yes' to continue the installation." -1 -1
-	if [ $1 -eq 1 ] ; then exit 1; fi
+	if [ $? -eq 1 ] ; then exit 1; fi
 fi
 
 if [ "${BATCH}" ]; then
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202201607.g1KG7eJ12842>