From 106c21f2e1427b89525bd73db24fa2f9e51290a3 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 9 Aug 2015 13:51:13 +0200 Subject: reproducible: fix grep-dctrl usage to include all binaries --- bin/reproducible_html_repository_comparison.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh index e5a37728..5db70c2b 100755 --- a/bin/reproducible_html_repository_comparison.sh +++ b/bin/reproducible_html_repository_comparison.sh @@ -116,14 +116,14 @@ for PKG in $SOURCEPKGS ; do if [ ! -z "$BET" ] ; then ONLYALL=true for ARCH in all ${ARCHS} ; do - i="$(grep-dctrl -n -s Package -r -FPackage $PKG --and -FVersion $BET --and -FArchitecture $ARCH $PACKAGES|xargs -r echo)" + i="$(grep-dctrl -n -s Package \( -X -FPackage $PKG --or -X -FSource $PKG \) --and -FVersion $BET --and -FArchitecture $ARCH $PACKAGES|sort -u|xargs -r echo)" if [ "$ARCH" != "all" ] && [ ! -z "$i" ] ; then ONLYALL=false fi echo "$ARCH: $i" done for ARCH in all ${ARCHS} ; do - i="$(grep-dctrl -n -s Package -r -FPackage $PKG --and -FVersion $BET --and -FArchitecture $ARCH $PACKAGES|xargs -r echo)" + i="$(grep-dctrl -n -s Package \( -X -FPackage $PKG --or -X -FSource $PKG \) --and -FVersion $BET --and -FArchitecture $ARCH $PACKAGES|sort -u|xargs -r echo)" if [ ! -z "$i" ] ; then i="$ARCH: $i" elif [ -z "$i" ] && [ "$ARCH" != "all" ] && ! $ONLYALL ; then -- cgit v1.2.3-70-g09d2