summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_build.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index ec78a04a..cfd9e57a 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -415,6 +415,8 @@ get_source_package() {
DBDREPORT="${SRCPACKAGE}_${EVERSION}.debbindiff.html"
DBDTXT="${SRCPACKAGE}_${EVERSION}.debbindiff.txt"
BUILDINFO="${SRCPACKAGE}_${EVERSION}_${ARCH}.buildinfo"
+ # used to catch race conditions when the same package is being built by two parallel jobs
+ LOCKFILE="/tmp/reproducible-lockfile-${SUITE}-${ARCH}-${SRCPACKAGE}"
}
check_suitability() {
@@ -619,9 +621,6 @@ fi
choose_package # defines SUITE, PKGID, SRCPACKAGE, SCHEDULED_DATE, SAVE_ARTIFACTS, NOTIFY
-# used to catch race conditions when the same package is being built by two parallel jobs
-LOCKFILE="/tmp/reproducible-lockfile-${SUITE}-${ARCH}-${SRCPACKAGE}"
-
init
get_source_package