Commit 106c21f2 authored by Holger Levsen's avatar Holger Levsen

reproducible: fix grep-dctrl usage to include all binaries

parent 2d015b1b
...@@ -116,14 +116,14 @@ for PKG in $SOURCEPKGS ; do ...@@ -116,14 +116,14 @@ for PKG in $SOURCEPKGS ; do
if [ ! -z "$BET" ] ; then if [ ! -z "$BET" ] ; then
ONLYALL=true ONLYALL=true
for ARCH in all ${ARCHS} ; do 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 if [ "$ARCH" != "all" ] && [ ! -z "$i" ] ; then
ONLYALL=false ONLYALL=false
fi fi
echo "$ARCH: $i" echo "$ARCH: $i"
done done
for ARCH in all ${ARCHS} ; do 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 if [ ! -z "$i" ] ; then
i="$ARCH: $i" i="$ARCH: $i"
elif [ -z "$i" ] && [ "$ARCH" != "all" ] && ! $ONLYALL ; then elif [ -z "$i" ] && [ "$ARCH" != "all" ] && ! $ONLYALL ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment