[BRAINSTORM] shebang fixing framework
Chris Rees
utisoft at gmail.com
Wed May 1 19:21:57 UTC 2013
On 1 May 2013 20:18, "Oliver Heesakkers" <freebsd at heesakkers.info> wrote:
>
> Op di 30 apr 2013 12:38:21 schreef Baptiste Daroussin:
> > Hi all,
> >
> > For a while now: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/51152we
> > are looking for a framework/helpers to help patching scripts shebang so
> > that they fit where the interpreters is on FreeBSD.
> >
> (...)
>
> In there you wrote a patch using /usr/bin/env. Why not stick with that?
I'm
> quite fond of this technique as it's clean and portable.
>
> Portability might not be that important when working on a fix for ports
alone,
> but still makes sense to me.
On the contrary, it teaches good habits to people.
Writing portable code also means it's less likely to break.
Chris
More information about the freebsd-ports
mailing list