Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-05-22 21:11:35 +0200
committerErich Eckner <git@eckner.net>2023-05-22 21:11:35 +0200
commit6b4f71673771ecd6cf9e2d3fe5ea93a9e5e0d5e4 (patch)
treed17f8e2a9322853e6ab028ee93c8fe454f65885c
parentfe11c01b3fb250c0944af70b649fc470ef2b5a9b (diff)
extract_source_directory: fix patching of PKGBUILDs
-rwxr-xr-xlib/common-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 0c01968..b3c8e23 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -486,7 +486,7 @@ extract_source_directory() {
|tar -x --overwrite --exclude 'PKGBUILD' --strip-components=2 -C "${output}" 2> /dev/null \
||true
git -C "${repo_paths__archlinux32}" archive "${mod_revision}" -- "${repository}/${pkgbase}/PKGBUILD" \
- |tar -Ox "${PKGBUILD_mod}" \
+ |tar -Ox "${repository}/${pkgbase}/PKGBUILD" \
>>"${output}/PKGBUILD"
printf '\n' \
>>"${output}/PKGBUILD"