[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: only keep one .deb

Holger Levsen gitlab at salsa.debian.org
Tue Feb 19 23:53:57 GMT 2019


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


Commits:
2a160082 by Holger Levsen at 2019-02-19T23:53:48Z
reproducible Debian: only keep one .deb

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
=====================================
@@ -34,6 +34,11 @@ unreproducible_packages=
 
 for package in $packages ; do
 	schroot --directory  $SHA1DIR -c chroot:jenkins-reproducible-unstable-diffoscope apt-get download ${package}
+	if [ $(ls -1 ${package}_*.deb | wc -l) -ne 1 ] ; then
+		DEB="$(ls -1 ${package}_*.deb | heads -1)"
+		rm $DEB # first I thought to delete $DEB* but only deleting $DEB is better
+	fi
+	package_file=$(ls ${package}_*.deb)
 	if [ ! -e ${package_file}.sha1output ] ; then
 		SHA1SUM_OUTPUT="$(sha1sum ${package}_*.deb | tee ${package_file}.sha1output)"
 	else



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

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


More information about the Qa-jenkins-scm mailing list