Commit f9a5c2c8 authored by Holger Levsen's avatar Holger Levsen

reproducible: correctly deal with (rare) situation when several diffoscope...

reproducible: correctly deal with (rare) situation when several diffoscope versions are available in one Debian suite
Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 37544eb9
...@@ -97,7 +97,7 @@ check_whohas() { ...@@ -97,7 +97,7 @@ check_whohas() {
# #
for SUITE in 'experimental' 'unstable|sid' for SUITE in 'experimental' 'unstable|sid'
do do
DIFFOSCOPE_IN_DEBIAN=$(rmadison diffoscope|egrep " ${SUITE} "| awk '{print $3}' || true) DIFFOSCOPE_IN_DEBIAN=$(rmadison diffoscope|egrep " ${SUITE} "| awk '{print $3}' | sort -r | head -1 || true)
if [ "$DIFFOSCOPE_IN_DEBIAN" != "" ] ; then if [ "$DIFFOSCOPE_IN_DEBIAN" != "" ] ; then
break break
......
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