diff options
author | Mattia Rizzolo <mattia@debian.org> | 2015-12-10 00:01:19 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-10 01:02:37 +0100 |
commit | f48a6c40eac4c82b026c29a810fcc890c0f8b507 (patch) | |
tree | fd9512d4f695cd13b6f92a60b9d6caf5ce156537 /bin/reproducible_maintenance.sh | |
parent | c56600e2bdc107fc564c51bcc1eeb00118e48376 (diff) | |
download | jenkins.debian.net-f48a6c40eac4c82b026c29a810fcc890c0f8b507.tar.xz |
reproducible: build/maintenance: another cases of ='' => IS NULL
Diffstat (limited to 'bin/reproducible_maintenance.sh')
-rwxr-xr-x | bin/reproducible_maintenance.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index 19da9311..755987d7 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -192,7 +192,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then SELECT s.id, s.name, p.date_scheduled, p.date_build_started FROM schedule AS p JOIN sources AS s ON p.package_id=s.id WHERE p.date_scheduled != '' - AND p.date_build_started != '' + AND p.date_build_started IS NOT NULL AND p.date_build_started < datetime('now', '-36 hours') ORDER BY p.date_scheduled " |