[FFmpeg-devel] [PATCH v3 2/5] ffbuild/libversion.sh: add shebang

Henrik Gramner henrik at gramner.com
Wed Apr 10 01:27:47 EEST 2024


On Tue, Apr 9, 2024 at 11:52 PM Marth64 <marth64 at proxyid.net> wrote:
> > +#!/bin/sh
> Might I suggest `#!/usr/bin/env sh` instead for this case?
> I tend to prefer it from a portability and usability perspective,
> but I can imagine for sh it might not matter.

/bin/sh exists on virtually every *NIX system whereas /usr/bin/env is
not ubiquitous, so that seems like a terrible idea that would achieve
the opposite result.


More information about the ffmpeg-devel mailing list