Gentoo Archives: gentoo-dev

From: Roy Marples <uberlord@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] POSIX shell and "portable"
Date: Sat, 03 Nov 2007 01:13:38
Message-Id: 1194052231.16405.19.camel@uberpc.marples.name
In Reply to: Re: [gentoo-dev] POSIX shell and "portable" by Fabian Groffen
1 On Sat, 2007-11-03 at 01:19 +0100, Fabian Groffen wrote:
2 > On 02-11-2007 17:35:08 +0000, Roy Marples wrote:
3 > > I don't see them as inferior.
4 > > I see them as more portable and less confusing.
5 >
6 > Please stop calling it "more portable". The shell code you see in
7 > configure can in a way be called "portable". Your POSIX compliant stuff
8 > isn't. In fact, by stating #!/bin/sh you actually make the code useless
9 > on a number of platforms, where it would have been working fine if there
10 > just were #!/bin/bash there.
11 >
12 > It seems to me that you actually mean "more FreeBSD-able" or something,
13 > which is a high price to pay for a relatively small part of Gentoo as a
14 > whole.
15
16 Me again.
17
18 If the shell isn't infact POSIX then you could always patch everything
19 to change #!/bin/sh to #!/bin/bash and install bash or remove /bin/sh
20 and link it to bash.
21
22 As a lot of programs out there in the tree that are runtime (not ebuilds
23 or init scripts) depend on /bin/sh being a POSIX shell.
24
25 Thanks
26
27 Roy
28
29 --
30 gentoo-dev@g.o mailing list