diff options
author | Erich Eckner <git@eckner.net> | 2017-08-03 13:34:19 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-08-03 13:34:19 +0200 |
commit | c606d8cdf51dbba988ef5873e1b79dedd51e3119 (patch) | |
tree | ca5238fdafa8701b32d044ff39a3c8091d84d056 /bin/common-functions | |
parent | 890c772d9d43706b24ff1c840965a61035b09f97 (diff) | |
download | builder-c606d8cdf51dbba988ef5873e1b79dedd51e3119.tar.xz |
bin/common-functions: append architectures also if PKGBUILD not modified otherwise
Diffstat (limited to 'bin/common-functions')
-rwxr-xr-x | bin/common-functions | 3 |
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" } |