On Sep 12, 2014, at 3:23 PM, Craig Rodrigues <rodr...@freebsd.org> wrote:

> 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.

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 '#!.../bash[ foo]' and 
wire in an appropriate value of '...'.

In fact, this case is a ripe candidate for a <bsd.port.mk> command macro.


Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to