diff options
author | J. Dekker <jdek@itanimul.li> | 2024-04-09 11:52:00 +0200 |
---|---|---|
committer | J. Dekker <jdek@itanimul.li> | 2024-04-09 15:34:53 +0200 |
commit | fcfd17dbb4a6cf270cdd82e91c21a5efdc878d12 (patch) | |
tree | 095da2a5b92234402cdb9f9ad4034a9582712cf9 | |
parent | 3090106635b32ee042fe3bb914b7c7863daa1d11 (diff) | |
download | ffmpeg-fcfd17dbb4a6cf270cdd82e91c21a5efdc878d12.tar.gz |
ffbuild/libversion.sh: add shebang
The implicit interpreter is dependent on the environment, and isn't
guaranteed to be /bin/sh. Some packagers call this script directly, and
in certain environments such as containers using qemu-user through
binfmt_misc emulation on Linux it doesn't fallback to /bin/sh.
To fix these cases we add the interpreter explicitly.
Signed-off-by: J. Dekker <jdek@itanimul.li>
-rwxr-xr-x | ffbuild/libversion.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ffbuild/libversion.sh b/ffbuild/libversion.sh index a94ab58057..ecaa90cde6 100755 --- a/ffbuild/libversion.sh +++ b/ffbuild/libversion.sh @@ -1,3 +1,4 @@ +#!/bin/sh toupper(){ echo "$@" | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ } |