Date: Fri, 12 Sep 2014 17:55:44 -0500 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Lyndon Nerenberg <lyndon@orthanc.ca>, Craig Rodrigues <rodrigc@freebsd.org> Cc: freebsd-current Current <freebsd-current@freebsd.org> Subject: Re: shells/bash port, add a knob which symlinks to /bin/bash ? Message-ID: <541379F0.6030002@FreeBSD.org> In-Reply-To: <3A3F0052-5F35-4381-93E3-EAAE0616D292@orthanc.ca> References: <CAG=rPVf5z4c6aheCngKy1g-iH8HexAWGQfHoSbtU9D1UC0Pbpg@mail.gmail.com> <20140912214004.GT6096@ivaldir.etoilebsd.net> <54136D5D.3090905@mu.org> <CAG=rPVeCwWQ5RP=EkkUMojzYprV3Se%2BjP9g31p0-eUmSPBUWRQ@mail.gmail.com> <3A3F0052-5F35-4381-93E3-EAAE0616D292@orthanc.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Mb27xDxPbDQjsBGpfFi4BgatDv9HD7utL Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 9/12/2014 5:45 PM, Lyndon Nerenberg wrote: >=20 > On Sep 12, 2014, at 3:23 PM, Craig Rodrigues <rodrigc@freebsd.org> wrot= e: >=20 >> Forcing all upstream script writers to switch to "#!/usr/bin/env bash"= , or >> to convert their scripts to "#!/bin/sh" and remove all bash-specific >> behaviors, is getting harder and harder, >> since many people are exposed to MacOS X and Linux on desktops. >=20 > Given the rigid nature of shebangs to begin with, it's really not that = hard to write a sed command that will capture all instances of '#!.../bas= h[ foo]' and wire in an appropriate value of '...'. >=20 > In fact, this case is a ripe candidate for a <bsd.port.mk> command macr= o. >=20 > --lyndon >=20 There already is one and ports requires using it! --=20 Regards, Bryan Drewery --Mb27xDxPbDQjsBGpfFi4BgatDv9HD7utL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJUE3nwAAoJEDXXcbtuRpfPBJYIANKTM/ThK1u9fXo3t1XiJU9I ItU+Mag38mTFTtne1IA92XrRn+36RyKD4nB3oqI+yYfOIVqjrn7PKh9f5KoPaBWJ Ws5yZCPCWVKhkz0K7zbEcohTfa5GvAlmm0YsgFp9ODQpe5EuN7e24tRYepCqkFsS dx7V3GCQz86rWDkQziiyQZkI3TEmoipyyMeOCDPNDyEQscYnOTE5K6WjWKvyS4Hr DnDEUXqKZVac55jOXfvCxPrfEc1LCAYG7MvHZop65cCNB6KjoYA4eVOg8QxlXSGd M/P5Tto0WaCZRtP2FVu+w0Jd+jd/ocx4xlXigl3gGP1qAqb/LaXa2xQxzrDUSTg= =Gqp+ -----END PGP SIGNATURE----- --Mb27xDxPbDQjsBGpfFi4BgatDv9HD7utL--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?541379F0.6030002>