From dd5644370fab070b7137b7369316797acedacb3f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 24 May 2023 06:23:32 +0200 Subject: fix shallow git clone of sources --- bin/build-packages | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/build-packages b/bin/build-packages index 95bcf8d..821491a 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -496,7 +496,13 @@ while [ "${count}" -ne 0 ] && \ set -e CARCH="${arch}" . /usr/share/makepkg/util/source.sh - . PKGBUILD + eval "$( + sed ' + :a + s/^\(\S\+\)-/\1_/ + ta + ' PKGBUILD + )" printf '%s\n' "${source[@]}" \ | grep '^git+' \ | while read -r netfile; do -- cgit v1.2.3-70-g09d2