diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-09 13:51:13 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-09 13:51:13 +0200 |
commit | 106c21f2e1427b89525bd73db24fa2f9e51290a3 (patch) | |
tree | 3896ea4a24aeb812299bbae190041654b4b9f7f2 | |
parent | 2d015b1b3565c335e17c105434cc031b316543dc (diff) | |
download | jenkins.debian.net-106c21f2e1427b89525bd73db24fa2f9e51290a3.tar.xz |
reproducible: fix grep-dctrl usage to include all binaries
-rwxr-xr-x | bin/reproducible_html_repository_comparison.sh | 4 |
1 files 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 |