From owner-freebsd-stable Wed Aug 28 2:45:58 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1D2637B400 for ; Wed, 28 Aug 2002 02:45:56 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (176.h.010.mel.iprimus.net.au [210.50.207.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 169AB43E42 for ; Wed, 28 Aug 2002 02:45:32 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (6sbzzwoetdess2v6@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3) with ESMTP id g7S6orEa033227; Wed, 28 Aug 2002 16:50:53 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3/Submit) id g7S6oqdF033226; Wed, 28 Aug 2002 16:50:52 +1000 (EST) Date: Wed, 28 Aug 2002 16:50:51 +1000 From: Tim Robbins To: Miha Nedok Cc: freebsd-stable@FreeBSD.ORG Subject: Re: sh(1) problems after upgrade Message-ID: <20020828165051.A32666@dilbert.robbins.dropbear.id.au> References: <20020827215400.L60568-100000@defiant.zrcalo.si> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020827215400.L60568-100000@defiant.zrcalo.si>; from mike@mike.unix-systems.net on Tue, Aug 27, 2002 at 09:54:16PM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Aug 27, 2002 at 09:54:16PM +0200, Miha Nedok wrote: > sh(1) changes affect it's behaviour. > The rc script for MySQL coming with the port doesn't work. > > /usr/local/etc/rc.d/mysql-server.sh start > /usr/local/etc/rc.d/mysql-server.sh: 6: Syntax error: "&&" unexpected I believe this has been fixed by revision 1.3 of databases/mysql323-server/ files/mysql-server.sh. It's unfortunate that it completely breaks some incorrect scripts, but a command like: foo & && echo 'foo has been started' never worked properly, and was interpreted by the shell as: foo & true && echo 'foo has been started' ^^^^ This will be pointed out in the release notes for 4.7 because so many people have asked me about it. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message