[Qa-jenkins-scm] [jenkins.debian.net] 05/09: reproducible: build: refactor: really can't define a variable before knowing what to put into it

Holger Levsen holger at moszumanska.debian.org
Sat Apr 18 16:06:45 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 2b0e38bbaea82bb0c19486810a7e13a36fe6c615
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Tue Apr 7 19:36:41 2015 +0200

    reproducible: build: refactor: really can't define a variable before knowing what to put into it
---
 bin/reproducible_build.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index b462801..5fc2169 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -380,14 +380,13 @@ RBUILDLOG=$(mktemp --tmpdir=$TMPDIR) # FIXME check wheter my changes here are fi
 
 choose_package  # defines SUITE, PKGID, SRCPACKAGE, SCHEDULED_DATE, SAVE_ARTIFACTS
 
-DBDREPORT=$(echo ${SRCPACKAGE}_${EVERSION}.debbindiff.html)
-BUILDINFO=${SRCPACKAGE}_${EVERSION}_${ARCH}.buildinfo
-
 init
 get_source_package
 
 VERSION=$(grep "^Version: " ${SRCPACKAGE}_*.dsc| head -1 | egrep -v '(GnuPG v|GnuPG/MacGPG2)' | cut -d " " -f2-)
 EVERSION=$(echo $VERSION | cut -d ":" -f2)  # EPOCH_FREE_VERSION was too long
+DBDREPORT="${SRCPACKAGE}_${EVERSION}.debbindiff.html"
+BUILDINFO="${SRCPACKAGE}_${EVERSION}_${ARCH}.buildinfo"
 
 cat ${SRCPACKAGE}_${EVERSION}.dsc | tee -a ${RBUILDLOG}
 

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