From 2b0e38bbaea82bb0c19486810a7e13a36fe6c615 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Tue, 7 Apr 2015 19:36:41 +0200 Subject: 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 b4628019..5fc21698 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} -- cgit v1.2.3-70-g09d2