[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible archlinux: fixup refactoring error

Holger Levsen holger at moszumanska.debian.org
Fri Dec 11 13:18:48 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 34d20b8c8bf1e3018db7aa8d5fb3858d954d3239
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Dec 11 14:18:30 2015 +0100

    reproducible archlinux: fixup refactoring error
---
 bin/reproducible_build_archlinux_pkg.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index eb0d8ad..7c0885d 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -43,11 +43,11 @@ choose_package() {
 	echo "$(date -u ) - about to choose a package to be build"
 	# every 2 days we check for new archlinux packages
 	touch -d "$(date -d '2 days ago' '+%Y-%m-%d') 00:00 UTC" $DUMMY
+	local SESSION="archlinux-scheduler-$RANDOM"
 	schroot --begin-session --session-name=$SESSION -c jenkins-reproducible-archlinux
 	for REPOSITORY in core extra ; do
 		if [ ! -f ${ARCHLINUX_PKGS}_$REPOSITORY ] || [ $DUMMY -nt ${ARCHLINUX_PKGS}_$REPOSITORY ] ; then
 			echo "$(date -u ) - updating list of available packages in repository '$REPOSITORY'."
-			local SESSION="archlinux-scheduler-$RANDOM"
 			schroot --run-session -c $SESSION --directory /var/abs/$REPOSITORY -- ls -1|sort -R|xargs echo > ${ARCHLINUX_PKGS}_$REPOSITORY
 			echo "$(date -u ) - these packages in repository '$REPOSITORY' are known to us:"
 			cat ${ARCHLINUX_PKGS}_$REPOSITORY

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