Date: Fri, 12 Sep 2014 15:22:15 -0700 From: Lyndon Nerenberg <lyndon@orthanc.ca> To: Baptiste Daroussin <bapt@FreeBSD.org> Cc: freebsd-current Current <freebsd-current@freebsd.org>, ports <freebsd-ports@freebsd.org> Subject: Re: shells/bash port, add a knob which symlinks to /bin/bash ? Message-ID: <FCE3C088-55E3-4BE5-B717-7A3DEC8E356A@orthanc.ca> In-Reply-To: <20140912214004.GT6096@ivaldir.etoilebsd.net> References: <CAG=rPVf5z4c6aheCngKy1g-iH8HexAWGQfHoSbtU9D1UC0Pbpg@mail.gmail.com> <20140912214004.GT6096@ivaldir.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_AAB70746-F659-4E2E-962D-1C413044639C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Sep 12, 2014, at 2:40 PM, Baptiste Daroussin <bapt@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 --Apple-Mail=_AAB70746-F659-4E2E-962D-1C413044639C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJUE3IXAAoJEG8PnXiV/JnUZNMP/i/GYWZ7FBE1VxkQFeglQXKB Zws/F7N4o/6Y3p+z0Xrj5TjYy6V0p8b4Vr2VGTIO7lhq5gwYXSddKcUZuLe6rPU3 vNkRmzN9w5qYhpHQs99MbhX2P1AkSB60pvN2RZT5huoBk3B1a4/WJBFf7+oB6KIR HmrpUcmEW1NS3x6dOQjPt68IRtbQSg/n6LLu3x+Fxh2ah3XmFFhqn/0TrR6GAiHL Od5X+k9wlo8zGw2r0NXT/64NrjzAoikjHooEoi2wxH0+1b8nQ2vu+Db0TWeersOp TYTkcu3u0um+Fv4+33qyFN7QIu3U4TMsC98zcXd8nQt/d0eKc/fb+MTQhQAJYsbA /ujDzF9EtsXb0i6w8L9Ns0MfgPc4O+u281yOCIwKUXd4vTwncsoSaFXcS5CCAyBz NuPCamHtS6LubtTFivbHMsR79ajnEQdHBP+dwDuO5tzDeEVYU+c+6sCUz4LMaqyx cSf++x4ZnfbAtPL9MmUgN2Y05+wxflYMbqlSsJhzfdaH7g8H4au2Vw+gqR4Gof0k ONRfJNt/ZbdzriJlTn6+6ajLmnj/SWj5wkhH679KXSf/TS5x0DjopBDVH5jBjOlp SS29fD2EutOojQWttUMv8hQfw76P9sh/FqdrPr46yM7vtcvEPMaUceMyXKkIqU1D 7u77zXxlRgiYzS6h7R0K =yPAg -----END PGP SIGNATURE----- --Apple-Mail=_AAB70746-F659-4E2E-962D-1C413044639C--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FCE3C088-55E3-4BE5-B717-7A3DEC8E356A>