[BRAINSTORM] shebang fixing framework

Oliver Heesakkers freebsd at heesakkers.info
Wed May 1 19:18:49 UTC 2013


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/51152 we
> 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.


More information about the freebsd-ports mailing list