[x264-devel] Portability fix for FreeBSD - use /bin/sh instead of /bin/bash

James Darnley james.darnley at gmail.com
Fri Oct 8 10:33:48 CEST 2010


On 08/10/2010, F.X. - Silverback Networks <foxyshadis at hotmail.com> wrote:
>
>  On 10/7/2010 6:05 PM, Alex Jurkiewicz wrote:
>> 2010/10/7 Måns Rullgård <mans at mansr.com <mailto:mans at mansr.com>>
>>
>>     > using '/usr/bin/env bash' would be more portable.
>>
>>     Not really.  Nothing requires 'env' to reside in /usr/bin.
>>
>>
>> bash exists in /bin on Linux and /usr/local/bin on FreeBSD, whereas env
>> exists in /usr/bin on
>> both. Looking at all other Unices, I'd be surprised if env is located
>> elsewhere more often
>> than bash.
>>
>> Alex
>
> SCO OpenServer and Cray UNICOS are literally the only two Unices ever that
> have /bin/env instead
> of /usr/bin/env. Not a big loss.
>
> ---
> J.Bowman
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel
>


More information about the x264-devel mailing list