[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: correctly parse package names

Holger Levsen gitlab at salsa.debian.org
Wed Feb 20 19:25:32 GMT 2019


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


Commits:
f2e0c1e0 by Holger Levsen at 2019-02-20T19:25:22Z
reproducible Debian: correctly parse package names

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

- - - - -


1 changed file:

- bin/reproducible_compare_Debian_sha1sums.sh


Changes:

=====================================
bin/reproducible_compare_Debian_sha1sums.sh
=====================================
@@ -54,9 +54,9 @@ reproducible_packages=
 unreproducible_packages=
 
 cleanup_all() {
-	reproducible_packages=$(awk '/ REPRODUCIBLE: /{print $2}' $log)
+	reproducible_packages=$(awk '/ REPRODUCIBLE: /{print $9}' $log)
 	reproducible_count=$(echo $reproducible_packages | wc -w)
-	unreproducible_packages=$(awk '/ UNREPRODUCIBLE: /{print $2}' $log)
+	unreproducible_packages=$(awk '/ UNREPRODUCIBLE: /{print $9}' $log)
 	unreproducible_count=$(echo $unreproducible_packages | wc -w)
 
 	percent_repro=$(echo "scale=4 ; $reproducible_count / ($reproducible_count+$unreproducible_count) * 100" | bc)



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/f2e0c1e0a23ad8e1886b9eb1c5c9856a06006f1e
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/20190220/2d671fea/attachment.html>


More information about the Qa-jenkins-scm mailing list