[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible: add another hack to make version comparison work

Holger Levsen gitlab at salsa.debian.org
Fri Feb 8 20:34:31 GMT 2019


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
bb3ff42d by Holger Levsen at 2019-02-08T20:34:23Z
reproducible: add another hack to make version comparison work

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/diffoscope_distribution_test.sh


Changes:

=====================================
bin/diffoscope_distribution_test.sh
=====================================
@@ -68,7 +68,7 @@ check_github_macports() {
 check_whohas() {
 	# the following is "broken" (but good enough for now)
 	# as sort doesn't do proper version comparison
-	DIFFOSCOPE_IN_WHOHAS=$(whohas -d $DISTRIBUTION diffoscope | grep -v "href=" | awk '{print $3}' | sort -u | tail -1)
+	DIFFOSCOPE_IN_WHOHAS=$(whohas -d $DISTRIBUTION diffoscope | grep -v "href=" | awk '{print $3}' | sort -u -t '-' | tail -1)
 	echo
 	echo
 	if [ "$DIFFOSCOPE_IN_DEBIAN" = "$DIFFOSCOPE_IN_WHOHAS" ] ; then



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/bb3ff42d57fc091e0e253c125b4fc81e485f5e15

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/bb3ff42d57fc091e0e253c125b4fc81e485f5e15
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190208/b9c93c60/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list