[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: fixup 52b794f0

Holger Levsen holger at moszumanska.debian.org
Wed Apr 22 11:34:46 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 ce47103ce11dfea1559a513a1610c467f7e8f6cc
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Apr 22 13:34:33 2015 +0200

    reproducible: fixup 52b794f0
---
 bin/reproducible_common.sh | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index c1769e7..b39ddc0 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -261,7 +261,6 @@ set_package_class() {
 }
 
 link_packages() {
-	cd /srv/jenkins/bin
 	for (( i=1; i<$#+1; i=i+400 )) ; do
 		local string='['
 		local delimiter=''
@@ -273,10 +272,12 @@ link_packages() {
 			fi
 		done
 		local string+=']'
-		write_page " $(python3 -c "from reproducible_common import link_packages; \
+		cd /srv/jenkins/bin
+		DATA=" $(python3 -c "from reproducible_common import link_packages; \
 				print(link_packages(${string}, '$SUITE', '$ARCH'))" 2> /dev/null)"
+		cd - > /dev/null
+		write_page "$DATA"
 	done
-	cd - > /dev/null
 }
 
 gen_packages_html() {

-- 
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