summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-02 15:18:25 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-02 15:18:25 +0200
commit9785077b7077f5c1e185fdb1311bbdac468e3474 (patch)
treea013c30b3054e84ee7763f059894af2a679f912d /bin
parentffdda3fef799457a8a0804d006ee47300799f7e3 (diff)
downloadjenkins.debian.net-9785077b7077f5c1e185fdb1311bbdac468e3474.tar.xz
reproducible: improve binary package display
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_html_repository_comparison.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh
index ddec1899..e8eef5fa 100755
--- a/bin/reproducible_html_repository_comparison.sh
+++ b/bin/reproducible_html_repository_comparison.sh
@@ -105,15 +105,19 @@ for PKG in $SOURCEPKGS ; do
CSID="$CSID$i<br />"
fi
done
+ BINARIES=""
if [ ! -z "$BET" ] ; then
- BINARIES=""
for ARCH in $ARCHS ; do
- i="$ARCH: $(grep-dctrl -n -s Package -r -FPackage $PKG --and -FVersion $BET --and -FArchitecture all --or -FArchitecture $ARCH $PACKAGES|xargs -r echo)"
- BINARIES="$BINARIES$i<br />"
+ i="$(grep-dctrl -n -s Package -r -FPackage $PKG --and -FVersion $BET --and -FArchitecture all --or -FArchitecture $ARCH $PACKAGES|xargs -r echo)"
+ if [ ! -z $i ] ; then
+ i="$ARCH+all: $i"
+ else
+ i="<span class=\"red\">no binaries for $ARCH</span>"
+ fi
+ BINARIES="$BINARIES<br />$i"
done
BET="<span class=\"green\">$BET</span>"
else
- BINARIES=""
BET="&nbsp;"
fi
if [ ! -z "$CRUFT" ] ; then