[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: build: fix last commit by catching another corner case
Holger Levsen
holger at moszumanska.debian.org
Mon Apr 20 10:43:06 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 8b7aacfc06d64c68d4958de9bb86f4a443300d30
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Sun Apr 19 15:38:35 2015 +0200
reproducible: build: fix last commit by catching another corner case
---
bin/reproducible_build.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 4369435..c266ac7 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -303,11 +303,13 @@ init() {
if [ -z "$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT date_build_started FROM schedule WHERE package_id = '$SRCPKGID'")" ] ; then
sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO schedule (package_id, date_scheduled, date_build_started) VALUES ('$SRCPKGID', '$SCHEDULED_DATE', '$DATE');"
else
+ BAD_LOCKFILE=true
handle_race_condition db
fi
if [ ! -f "$LOCKFILE" ] ; then
echo $$ > "$LOCKFILE"
else
+ BAD_LOCKFILE=true
handle_race_condition init
fi
echo "Starting to build ${SRCPACKAGE}/${SUITE} on $DATE" | tee ${RBUILDLOG}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list