summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_repository_comparison.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-09 13:51:13 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-09 13:51:13 +0200
commit106c21f2e1427b89525bd73db24fa2f9e51290a3 (patch)
tree3896ea4a24aeb812299bbae190041654b4b9f7f2 /bin/reproducible_html_repository_comparison.sh
parent2d015b1b3565c335e17c105434cc031b316543dc (diff)
downloadjenkins.debian.net-106c21f2e1427b89525bd73db24fa2f9e51290a3.tar.xz
reproducible: fix grep-dctrl usage to include all binaries
Diffstat (limited to 'bin/reproducible_html_repository_comparison.sh')
-rwxr-xr-xbin/reproducible_html_repository_comparison.sh4
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