From d88d4983c8f63f3776821dee8629292b21e18064 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 9 Jan 2017 02:39:06 +0100 Subject: reproducible Debian: only look for stale builds in stale-builds.log Signed-off-by: Holger Levsen --- bin/reproducible_maintenance.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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." -- cgit v1.2.3-70-g09d2