Commit f9a5c2c8 authored by Holger Levsen's avatar Holger Levsen
Browse files

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: default avatarHolger Levsen <holger@layer-acht.org>
parent 37544eb9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ check_whohas() {
#
for SUITE in 'experimental' 'unstable|sid'
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
		break