[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: use trap properly
Holger Levsen
gitlab at salsa.debian.org
Wed Feb 20 01:35:11 GMT 2019
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
1c12b2c4 by Holger Levsen at 2019-02-20T01:35:01Z
reproducible Debian: use trap properly
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
=====================================
@@ -50,7 +50,6 @@ reproducible_packages=
unreproducible_packages=
cleanup_all() {
- rm $log
reproducible_packages=$(awk '/^REPRODUCIBLE:/{print $2}' $log)
reproducible_count=$(echo $reproducible_packages | wc -w)
unreproducible_packages=$(awk '/^UNREPRODUCIBLE:/{print $2}' $log)
@@ -71,6 +70,7 @@ cleanup_all() {
echo
echo "$(du -sch $SHA1DIR)"
echo
+ rm $log
}
trap cleanup_all INT TERM EXIT
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/1c12b2c4463419a13b082fe4829354eb859a3647
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/1c12b2c4463419a13b082fe4829354eb859a3647
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/1dac85d1/attachment.html>
More information about the Qa-jenkins-scm
mailing list