Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] POSIX shell and "portable"
Date: Mon, 05 Nov 2007 22:29:58
Message-Id: 200711051727.12399.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] POSIX shell and "portable" by Roy Marples
1 On Monday 05 November 2007, Roy Marples wrote:
2 > On Mon, 2007-11-05 at 14:21 +0100, Michael Haubenwallner wrote:
3 > > > Actually you missed the mark completely.
4 > > > Nothing in the tree itself specifies what shell to use - instead it's
5 > > > the package manager. So the PM on Gentoo/Linux/FreeBSD *could*
6 > > > be /bin/sh and on the systems where /bin/sh is not possible to change
7 > > > to a POSIX compliant shell then it can still use /bin/bash or wherever
8 > > > it's installed.
9 > >
10 > > So "have the installed scripts to not require bash" is another topic ?
11 >
12 > No, it's a valid topic.
13
14 he didnt say it was invalid, just a different topic
15
16 > Either the profile could hook src_unpack or the ebuild could call a
17 > function to do this
18 >
19 > sed -e '1 s,^#!/bin/sh,#!/path/to/bash,'
20
21 fix the packages i say
22 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature