summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_build.sh2
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