summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-31 00:38:45 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-31 00:38:45 +0200
commit1a1fc1f7abce8ddfb93357c525ed14123d936f9f (patch)
tree2459f56b78687577bb71bbcb386298ccc17a3f33 /bin/reproducible_build.sh
parent5044710aa1d25c621e814ea66e0c9e60762d2708 (diff)
downloadjenkins.debian.net-1a1fc1f7abce8ddfb93357c525ed14123d936f9f.tar.xz
refactor, bah
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 27088555..95294376 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -387,6 +387,8 @@ init() {
fi
echo "Starting to build ${SRCPACKAGE}/${SUITE}/${ARCH} on $DATE" | tee ${RBUILDLOG}
echo "The jenkins build log is/was available at ${BUILD_URL}console" | tee -a ${RBUILDLOG}
+ # used to catch race conditions when the same package is being built by two parallel jobs
+ LOCKFILE="/tmp/reproducible-lockfile-${SUITE}-${ARCH}-${SRCPACKAGE}"
}
get_source_package() {
@@ -415,8 +417,6 @@ 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() {