1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/ffmpeg/0001-ffbuild-libversion.sh-add-shebang.patch
Carlo Landmeter 0dcd4a8ad7 community/ffmpeg: fix build on riscv64
fix build when using qemu-user
2021-06-29 12:02:15 +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