[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: always set ARCH depending on the MODE

Holger Levsen holger at moszumanska.debian.org
Sat Sep 26 11:11:00 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 23efcf8722b5305f49c4467796d3e32bbb32aaa1
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Sep 26 13:08:59 2015 +0200

    reproducible: always set ARCH depending on the MODE
---
 bin/reproducible_build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 366d7a0..6db5b32 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -661,7 +661,6 @@ DATE=$(date -u +'%Y-%m-%d %H:%M')
 START=$(date +'%s')
 RBUILDLOG=$(mktemp --tmpdir=$TMPDIR)
 BUILDER="${JOB_NAME#reproducible_builder_}/${BUILD_ID}"
-ARCH="$(dpkg --print-architecture)"
 
 #
 # determine mode
@@ -673,6 +672,7 @@ elif [ "$1" = "1" ] || [ "$1" = "2" ] ; then
 	MODE="$1"
 	SRCPACKAGE="$2"
 	SUITE="$3"
+	ARCH="$(dpkg --print-architecture)"
 	SAVE_ARTIFACTS="0"
 	TMPDIR="$4"
 	[ -d $TMPDIR ] || mkdir -p $TMPDIR

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