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>2020-01-05 23:26:22 +0100
committerErich Eckner <git@eckner.net>2020-01-05 23:26:22 +0100
commit7b064decd11a1409692d40b04f71ece6da1478a3 (patch)
tree109d52af38c766356950ea0e88e40de5ebdab1c6 /bin
parent47053937cbbb8c49842e90c80a457b1f3f4dccd5 (diff)
bin/build-packages: print warnings if unexpected packages are being removed
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-packages2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 00f5270..6b4e6d6 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -677,6 +677,8 @@ while [ "${count}" -ne 0 ] && \
sort | \
uniq -u | \
while read -r unexpected_package; do
+ >&2 printf 'removing unexpected build artifact "%s"\n' \
+ "${unexpected_package}"
rm "${unexpected_package}"*
done
fi