diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-02-23 17:49:10 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-02-23 17:49:10 +0100 |
commit | bdff58467debb7ca2cc86a61cb35db9afcf5d303 (patch) | |
tree | ca0681ac16adf1f3083d3341af2b276f0780853a | |
parent | 59006b0fe07469022b813cd8830acf6adebe80f3 (diff) | |
download | jenkins.debian.net-bdff58467debb7ca2cc86a61cb35db9afcf5d303.tar.xz |
reproducible: list all cruft
-rwxr-xr-x | bin/reproducible_html_repo_stats.sh | 8 |
1 files changed, 3 insertions, 5 deletions
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 "<tr><td>$PKG</td><td>" 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 "<em>$BET</em>" - 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 |