summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_repo_stats.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-23 17:49:10 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-23 17:49:10 +0100
commitbdff58467debb7ca2cc86a61cb35db9afcf5d303 (patch)
treeca0681ac16adf1f3083d3341af2b276f0780853a /bin/reproducible_html_repo_stats.sh
parent59006b0fe07469022b813cd8830acf6adebe80f3 (diff)
downloadjenkins.debian.net-bdff58467debb7ca2cc86a61cb35db9afcf5d303.tar.xz
reproducible: list all cruft
Diffstat (limited to 'bin/reproducible_html_repo_stats.sh')
-rwxr-xr-xbin/reproducible_html_repo_stats.sh8
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