Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-03 23:15:21 +0200
committerErich Eckner <git@eckner.net>2019-07-03 23:15:21 +0200
commit29c5a474fa58fc9a7354adf1280ff246c0201b85 (patch)
tree59682000bf404d4d261024e8632b8e8cc0706f1f /bin/build-packages
parent4f7d840ba34d82f928e41cef751442ac452788da (diff)
bin/build-packages: remove logs of successfuly checked logs
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 6071589..43e5a88 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -500,6 +500,10 @@ while [ "${count}" -ne 0 ] && \
).build-log"
if CARCH="${arch}" makepkg --verifysource 2> "${log_file}"; then
success=true
+ find "${tmp_dir}" -mindepth 1 -maxdepth 1 \
+ -name '*.build-log' \
+ -type f \
+ -delete
break
fi