From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Io7Zy-0002vg-5N for garchives@archives.gentoo.org; Sat, 03 Nov 2007 01:13:38 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id lA31Ckif011699; Sat, 3 Nov 2007 01:12:46 GMT Received: from mail.marples.name (rsm.demon.co.uk [80.177.111.50]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id lA31Ansf009346 for ; Sat, 3 Nov 2007 01:10:49 GMT Received: from [10.73.1.30] (uberpc.marples.name [10.73.1.30]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.marples.name (Postfix) with ESMTP id B1CE71900FF for ; Sat, 3 Nov 2007 01:10:49 +0000 (GMT) Subject: Re: [gentoo-dev] POSIX shell and "portable" From: Roy Marples To: gentoo-dev@lists.gentoo.org In-Reply-To: <20071103001922.GD1907@gentoo.org> References: <472B29B9.50002@gentoo.org> <200711021730.21089.bo.andresen@zlin.dk> <1194022333.3029.3.camel@uberpc.marples.name> <200711021817.32146.bo.andresen@zlin.dk> <1194024908.3029.6.camel@uberpc.marples.name> <20071103001922.GD1907@gentoo.org> Content-Type: text/plain Organization: Gentoo Date: Sat, 03 Nov 2007 01:10:31 +0000 Message-Id: <1194052231.16405.19.camel@uberpc.marples.name> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 375c633f-a253-4c54-b909-2d8949057462 X-Archives-Hash: 95796f757679e30abcd78c31b0c91363 On Sat, 2007-11-03 at 01:19 +0100, Fabian Groffen wrote: > On 02-11-2007 17:35:08 +0000, Roy Marples wrote: > > I don't see them as inferior. > > I see them as more portable and less confusing. > > Please stop calling it "more portable". The shell code you see in > configure can in a way be called "portable". Your POSIX compliant stuff > isn't. In fact, by stating #!/bin/sh you actually make the code useless > on a number of platforms, where it would have been working fine if there > just were #!/bin/bash there. > > It seems to me that you actually mean "more FreeBSD-able" or something, > which is a high price to pay for a relatively small part of Gentoo as a > whole. Me again. If the shell isn't infact POSIX then you could always patch everything to change #!/bin/sh to #!/bin/bash and install bash or remove /bin/sh and link it to bash. As a lot of programs out there in the tree that are runtime (not ebuilds or init scripts) depend on /bin/sh being a POSIX shell. Thanks Roy -- gentoo-dev@gentoo.org mailing list