From owner-freebsd-ports Wed Feb 20 8:10:44 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 748BD37B42B for ; Wed, 20 Feb 2002 08:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1KGA2885341; Wed, 20 Feb 2002 08:10:02 -0800 (PST) (envelope-from gnats) Received: from bastuba.partitur.se (bastuba.partitur.se [212.209.169.194]) by hub.freebsd.org (Postfix) with ESMTP id 38FF237B402 for ; Wed, 20 Feb 2002 08:07:41 -0800 (PST) Received: (from root@localhost) by bastuba.partitur.se (8.11.6/8.11.6) id g1KG7e218338 for FreeBSD-gnats-submit@freebsd.org.AVP; Wed, 20 Feb 2002 17:07:40 +0100 (CET) (envelope-from girgen@partitur.se) Received: from elbas.partitur.se (elbas.partitur.se [212.209.169.222]) by bastuba.partitur.se (8.11.6/8.11.6) with ESMTP id g1KG7e318330 for ; Wed, 20 Feb 2002 17:07:40 +0100 (CET) (envelope-from girgen@partitur.se) Received: (from girgen@localhost) by elbas.partitur.se (8.11.6/8.11.6) id g1KG7eJ12842; Wed, 20 Feb 2002 17:07:40 +0100 (CET) (envelope-from girgen) Message-Id: <200202201607.g1KG7eJ12842@elbas.partitur.se> Date: Wed, 20 Feb 2002 17:07:40 +0100 (CET) From: Palle Girgensohn Reply-To: Palle Girgensohn To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/35143: postgresql build won't stop even if you chose to stop Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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