From 23efcf8722b5305f49c4467796d3e32bbb32aaa1 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 26 Sep 2015 13:08:59 +0200 Subject: 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 366d7a0a..6db5b32c 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 -- cgit v1.2.3-70-g09d2