[FFmpeg-cvslog] ffbuild/libversion.sh: add shebang
J. Dekker
git at videolan.org
Tue Apr 9 17:03:05 EEST 2024
ffmpeg | branch: master | J. Dekker <jdek at itanimul.li> | Tue Apr 9 11:52:00 2024 +0200| [fcfd17dbb4a6cf270cdd82e91c21a5efdc878d12] | committer: J. Dekker
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 at itanimul.li>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fcfd17dbb4a6cf270cdd82e91c21a5efdc878d12
---
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
}
More information about the ffmpeg-cvslog
mailing list