diff options
-rwxr-xr-x | bin/reproducible_html_repository_comparison.sh | 12 |
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=" " fi if [ ! -z "$CRUFT" ] ; then |