1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/ffmpeg4/0001-ffbuild-libversion.sh-add-shebang.patch
2022-03-09 11:36:01 +00:00

24 lines
666 B
Diff

From 3eb43e2e9df80baad20722b3698e6995a546853a Mon Sep 17 00:00:00 2001
From: Carlo Landmeter <clandmeter@alpinelinux.org>
Date: Tue, 29 Jun 2021 11:56:32 +0000
Subject: [PATCH] ffbuild/libversion.sh: add shebang
when using something like qemu-user where argv[0] is qemu the script
will not be exexuted by the shell.
---
ffbuild/libversion.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ffbuild/libversion.sh b/ffbuild/libversion.sh
index 990ce9f640..30046b1d25 100755
--- a/ffbuild/libversion.sh
+++ b/ffbuild/libversion.sh
@@ -1,3 +1,5 @@
+#!/bin/sh
+
toupper(){
echo "$@" | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ
}
--
2.32.0