From owner-freebsd-ports@FreeBSD.ORG Sat Jan 29 00:27:50 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADD46106566C for ; Sat, 29 Jan 2011 00:27:50 +0000 (UTC) (envelope-from marquis@roble.com) Received: from mx5.roble.com (mx5.roble.com [206.40.34.5]) by mx1.freebsd.org (Postfix) with ESMTP id 9F5598FC14 for ; Sat, 29 Jan 2011 00:27:50 +0000 (UTC) Received: from mx5.roble.com (mx5.roble.com [206.40.34.5]) by mx5.roble.com (Postfix) with ESMTP id F0E1E67833 for ; Fri, 28 Jan 2011 16:15:45 -0800 (PST) Date: Fri, 28 Jan 2011 16:15:45 -0800 (PST) From: Roger Marquis To: freebsd-ports@freebsd.org In-Reply-To: <20110128120031.21B5A1065763@hub.freebsd.org> References: <20110128120031.21B5A1065763@hub.freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Message-Id: <20110129002750.ADD46106566C@hub.freebsd.org> Subject: Re: bump of PORTREVISION mandatory? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2011 00:27:50 -0000 "Helmut Schneider wrote: > Would it make sense to have the making process sleep for a few seconds > or have the user to press a key before proceeding? If I didn't wait for > the lines I wouldn't really have noticed it. Why not do one or the other depending on the terminal: tty >/dev/null 2>&1 if [ $? = 0 ]; then echo -n "$msg. Continue [Y/^C]: " read x y z else echo "$msg. Continuing in 10s, ^C to abort ..." sleep 10 fi Roger Marquis