From 9785077b7077f5c1e185fdb1311bbdac468e3474 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 2 Aug 2015 15:18:25 +0200 Subject: reproducible: improve binary package display --- bin/reproducible_html_repository_comparison.sh | 12 ++++++++---- 1 file 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
" 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
" + 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="no binaries for $ARCH" + fi + BINARIES="$BINARIES
$i" done BET="$BET" else - BINARIES="" BET=" " fi if [ ! -z "$CRUFT" ] ; then -- cgit v1.2.3-70-g09d2