Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-29 12:45:08 +0100
committerErich Eckner <git@eckner.net>2018-10-29 12:45:08 +0100
commitbffd76398b350dccf36d7ec8a239408f72e8f449 (patch)
tree35b726b2969ca2370c12f97b76c458f77566359b /bin
parent69246490c87a862d076515f8de2ffc296eaf9a6f (diff)
bin/build-packages: create and upload empty archive if "tar" fails (so the buildmaster notices the package as broken)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-packages4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 67bb8d6..28538c5 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -652,7 +652,6 @@ while [ "${count}" -ne 0 ] && \
-name '*.pkg.tar.xz-namcap.log' \
-execdir grep -HF '' '{}' \;
fi
- # TODO: if this tar fails, we should tell the buildmaster about it
# shellcheck disable=SC2046
tar -cf 'package.tar' -C "${tar_content_dir}" -- $(
find "${tar_content_dir}/" -maxdepth 1 \
@@ -664,7 +663,8 @@ while [ "${count}" -ne 0 ] && \
-name '*.pkg.tar.xz.so.provides.gz' \
\) \
-printf '%f\n'
- )
+ ) || \
+ tar -cf 'package.tar' -T /dev/null
if ${upload_to_build_master}; then
# shellcheck disable=SC2046
rsync $(