summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-03 13:34:19 +0200
committerErich Eckner <git@eckner.net>2017-08-03 13:34:19 +0200
commitc606d8cdf51dbba988ef5873e1b79dedd51e3119 (patch)
treeca5238fdafa8701b32d044ff39a3c8091d84d056 /bin
parent890c772d9d43706b24ff1c840965a61035b09f97 (diff)
downloadbuilder-c606d8cdf51dbba988ef5873e1b79dedd51e3119.tar.xz
bin/common-functions: append architectures also if PKGBUILD not modified otherwise
Diffstat (limited to 'bin')
-rwxr-xr-xbin/common-functions3
1 files changed, 2 insertions, 1 deletions
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"
}