summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-01-09 02:39:06 +0100
committerHolger Levsen <holger@layer-acht.org>2017-01-09 02:39:06 +0100
commitd88d4983c8f63f3776821dee8629292b21e18064 (patch)
tree5e97269135235177295d5dde3781eab7ff7646d9 /bin
parent86bb753b03cda1eb2a6b73032a24d228cc481516 (diff)
downloadjenkins.debian.net-d88d4983c8f63f3776821dee8629292b21e18064.tar.xz
reproducible Debian: only look for stale builds in stale-builds.log
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_maintenance.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index ee71b3d9..39dc9d1a 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -433,7 +433,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] && [ $(date -u +%H) -eq 0 ] ; then
for a in $ARCHS archlinux fedora ; do
echo "- $(grep https $TMPFILE|grep -c _$a) from $a."
done
- else
+ elif grep -q 'stale builds found' $TMPFILE ; then
echo "$(grep -c 'stale builds found' $TMPFILE || true) entries found:"
for a in $ARCHS ; do
echo "- $(grep -c ${a}_ $TMPFILE) from $a."