diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-26 13:08:59 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-26 13:08:59 +0200 |
commit | 23efcf8722b5305f49c4467796d3e32bbb32aaa1 (patch) | |
tree | f684cb33eb3a1f6c2359f6967016771a9680dd87 /bin | |
parent | 9ea06a057809e826ec14f076cba120edac910786 (diff) | |
download | jenkins.debian.net-23efcf8722b5305f49c4467796d3e32bbb32aaa1.tar.xz |
reproducible: always set ARCH depending on the MODE
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |