From owner-cvs-all Fri Aug 16 14: 6:20 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7429937B401 for ; Fri, 16 Aug 2002 14:06:15 -0700 (PDT) Received: from maila.telia.com (maila.telia.com [194.22.194.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 806D343E42 for ; Fri, 16 Aug 2002 14:06:14 -0700 (PDT) (envelope-from erikt@midgard.homeip.net) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by maila.telia.com (8.12.5/8.12.5) with ESMTP id g7GL6Aq8019719 for ; Fri, 16 Aug 2002 23:06:10 +0200 (CEST) X-Original-Recipient: Received: from falcon.midgard.homeip.net (h62n2fls20o913.telia.com [212.181.163.62]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id XAA19794 for ; Fri, 16 Aug 2002 23:06:09 +0200 (CEST) Received: (qmail 8652 invoked by uid 1001); 16 Aug 2002 21:06:06 -0000 Date: Fri, 16 Aug 2002 23:06:06 +0200 From: Erik Trulsson To: "David O'Brien" Cc: Anders Nordby , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/audio/opennap/files opennap.sh ports/databases/msql/files msql2.sh ports/emulators/vmware-guestd/files vmware-guestd.sh ports/games/fsgs/files fsgs.sh ports/games/uox3/files uox3.sh ports/net/rtsp_proxy/files rtsp_proxy.sh ports/net/rwhois/files ... Message-ID: <20020816210605.GB8593@falcon.midgard.homeip.net> Mail-Followup-To: David O'Brien , Anders Nordby , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200208140014.g7E0E8Z4019514@freefall.freebsd.org> <20020816200824.GC22129@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020816200824.GC22129@dragon.nuxi.com> User-Agent: Mutt/1.5.1i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Aug 16, 2002 at 01:08:24PM -0700, David O'Brien wrote: > On Tue, Aug 13, 2002 at 05:14:07PM -0700, Anders Nordby wrote: > > Log: > > Fix startup-scripts for -current /bin/sh issues. > > Why did things like: > > [ -x ${PREFIX}/sbin/opennap ] && ${PREFIX}/sbin/opennap > /dev/null 2>& 1 & && echo -n ' opennap' > > stop working? Because constructions of the type cmd1 & && cmd2 are no longer accepted as valid syntax by /bin/sh. (Actually, what isn't accepted any longer is '&&' or '||' as the first token of a command.) The fact that it was accepted before was a bug in /bin/sh. (In case you wonder, bash, pdksh, zsh and Solaris /bin/sh don't accept it either, so it wasn't a portable construction anyway.) -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message