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>2019-07-04 14:53:22 +0200
committerErich Eckner <git@eckner.net>2019-07-04 14:53:22 +0200
commitb7e195680866c1fb28cd4b822151aa945a28b922 (patch)
treef3650340241ea4202c62394365c179a1ca6f7cfe /bin
parent94e6f6afd08dbb88c90fecdc71aab5c112108888 (diff)
bin/build-packages: do not remove _all_ log files if checksum is once correctly computed - only remove the log file for _that_
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-packages5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 43e5a88..d97e793 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -500,10 +500,7 @@ 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
+ rm "${log_file}"
break
fi