[FFmpeg-devel] [PATCH v3 2/5] ffbuild/libversion.sh: add shebang
J. Dekker
jdek at itanimul.li
Tue Apr 9 16:50:31 EEST 2024
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 at itanimul.li>
---
ffbuild/libversion.sh | 1 +
1 file changed, 1 insertion(+)
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
}
--
2.44.0
More information about the ffmpeg-devel
mailing list