[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: only update pbuilder base.tgz's if they exist

Holger Levsen holger at moszumanska.debian.org
Tue Oct 13 11:18:05 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit e8603283e0bca5e9b6986cefb0234cfce999db69
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Oct 13 13:17:17 2015 +0200

    reproducible: only update pbuilder base.tgz's if they exist
---
 bin/reproducible_maintenance.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index b7b8d5a..49c145a 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -82,7 +82,7 @@ for s in $SUITES ; do
 		pbuilder_http_proxy="--http-proxy $http_proxy"
 	fi
 	for i in 1 2 3 4 ; do
-		sudo pbuilder --update $pbuilder_http_proxy --basetgz /var/cache/pbuilder/$s-reproducible-base.tgz
+		[ ! -f /var/cache/pbuilder/$s-reproducible-base.tgz ] || sudo pbuilder --update $pbuilder_http_proxy --basetgz /var/cache/pbuilder/$s-reproducible-base.tgz
 		RESULT=$?
 		if [ $RESULT -eq 1 ] ; then
 			# sleep 61-120 secs

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list