index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-01-19 17:41:50 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-19 17:41:50 +0100 |
commit | a8eb18abe0ead861f5e362bec6716ecfb635118f (patch) | |
tree | d9e051fe070aa5def820f535ff927bf4a1d9adc3 /bin/db-update | |
parent | 7bb3c79c9c5ae4775793bb85e6540802ab400b1e (diff) |
-rwxr-xr-x | bin/db-update | 4 |
diff --git a/bin/db-update b/bin/db-update index cd8e8e9..a8abc9a 100755 --- a/bin/db-update +++ b/bin/db-update @@ -144,9 +144,9 @@ if ! ${no_action}; then printf ' SET `binary_packages`.`is_tested`=1' printf ' WHERE NOT `binary_packages`.`has_issues`' printf ' AND NOT `binary_packages`.`is_tested`' - printf ' AND `binary_packages_in_repositories`.`first_last_moved`<ADDDATE(NOW(),from_base64("%s"))' \ + printf ' AND `binary_packages_in_repositories`.`first_last_moved`<SUBDATE(NOW(),from_base64("%s"))' \ "$( - printf -- '-%s' "${max_testing_duration}" | \ + printf -- '%s' "${max_testing_duration}" | \ base64 -w0 )" } | \ |