From c606d8cdf51dbba988ef5873e1b79dedd51e3119 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 3 Aug 2017 13:34:19 +0200 Subject: bin/common-functions: append architectures also if PKGBUILD not modified otherwise --- bin/common-functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/common-functions b/bin/common-functions index 14ae06e..6e6aefa 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -639,9 +639,10 @@ extract_source_directory() { git -C "${repo_paths__archlinux32}" archive "${mod_rev}" -- "${PKGBUILD_mod}" | \ tar -Ox "${PKGBUILD_mod}" >> \ "${output}/PKGBUILD" - append_architectures "${output}/PKGBUILD" fi + append_architectures "${output}/PKGBUILD" + sed -i '/^\$Id\$$/d' "${output}/PKGBUILD" } -- cgit v1.2.3-70-g09d2