shells/bash port, add a knob which symlinks to /bin/bash ?

Lyndon Nerenberg lyndon at orthanc.ca
Fri Sep 12 22:22:46 UTC 2014


On Sep 12, 2014, at 2:40 PM, Baptiste Daroussin <bapt at FreeBSD.org> wrote:

> If you want interoperability just use /usr/bin/env bash as a shebang. Btw you
> cannot get interoprability with OS-X in there because the bash they do provide
> is the last GPL-2 recent bash have many incompatiblities with this old version.

The concern is not with shell scripts, it's with the contents of the pw_shell field in 'struct passwd'.

I run into this all the time, too, but with ksh.  In my case I just cp a static-linked version of whatever ksh variant I happened to build into /bin/ksh and call it a day.  It's not like the shell source code is changing every other week, even for bash.

--lyndon

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140912/8d9b7e15/attachment.sig>


More information about the freebsd-ports mailing list