From fcfd17dbb4a6cf270cdd82e91c21a5efdc878d12 Mon Sep 17 00:00:00 2001 From: "J. Dekker" Date: Tue, 9 Apr 2024 11:52:00 +0200 Subject: [PATCH] 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 --- 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 }