On 9/12/2014 5:45 PM, Lyndon Nerenberg wrote: > > On Sep 12, 2014, at 3:23 PM, Craig Rodrigues <rodrigc_at_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. > > --lyndon > There already is one and ports requires using it! -- Regards, Bryan Drewery
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:52 UTC