summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2015-12-09 23:10:52 +0000
committerHolger Levsen <holger@layer-acht.org>2015-12-10 00:18:37 +0100
commit35ad1767a81d20422c2e8c52f0fa144a71f03981 (patch)
treeb00d8f2ba37c5745e11c79dfb840798fe3aed431 /bin/reproducible_build.sh
parente83a85b678693a3950107c192105620b2fac7bf4 (diff)
downloadjenkins.debian.net-35ad1767a81d20422c2e8c52f0fa144a71f03981.tar.xz
reproducible: build/live_status: check whether sch.date_build_started is NULL instead of ''
Diffstat (limited to 'bin/reproducible_build.sh')
-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 83326c35..0c51a6e8 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -403,7 +403,7 @@ choose_package() {
local RESULT=$(sqlite3 -init $INIT ${PACKAGES_DB} "
SELECT s.suite, s.id, s.name, sch.date_scheduled, sch.save_artifacts, sch.notify, s.notify_maintainer, sch.message
FROM schedule AS sch JOIN sources AS s ON sch.package_id=s.id
- WHERE sch.date_build_started=''
+ WHERE sch.date_build_started is NULL
AND s.architecture='$ARCH'
ORDER BY date_scheduled LIMIT 5"|sort -R|head -1)
if [ -z "$RESULT" ] ; then