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

Alex Jurkiewicz alex at bluebottle.net.au
Fri Oct 8 03:05:58 CEST 2010


2010/10/7 Måns Rullgård <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20101008/49ff6a77/attachment.htm>


More information about the x264-devel mailing list