From bdff58467debb7ca2cc86a61cb35db9afcf5d303 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 23 Feb 2015 17:49:10 +0100 Subject: reproducible: list all cruft --- bin/reproducible_html_repo_stats.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'bin/reproducible_html_repo_stats.sh') diff --git a/bin/reproducible_html_repo_stats.sh b/bin/reproducible_html_repo_stats.sh index fa4d0770..f426e27e 100755 --- a/bin/reproducible_html_repo_stats.sh +++ b/bin/reproducible_html_repo_stats.sh @@ -33,6 +33,8 @@ SOURCES=$(grep-dctrl -n -s source -FArchitecture amd64 -o -FArchitecture all $TM for PKG in $SOURCES ; do write_page "$PKG" VERSIONS=$(grep-dctrl -n -s version -S $PKG $TMPFILE|sort -u) + CRUFT="" + WARN=false BET="" for VERSION in ${VERSIONS} ; do if [ "$BET" = "" ] ; then @@ -43,13 +45,9 @@ for PKG in $SOURCES ; do fi done write_page "$BET" - CRUFT="" - WARN=false for VERSION in ${VERSIONS} ; do if [ "${VERSION}" != "$BET" ] ; then - if [ ! -z "$CRUFT" ] ; then - WARN=true - fi + WARN=true CRUFT="$CRUFT ${VERSION}" fi done -- cgit v1.2.3-54-g00ecf