summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-20 09:45:54 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-20 09:45:54 +0100
commitc82dfda7262819e612b99d26b6f3eaab42129ecd (patch)
tree1677f8a555728aa06931ee4cf3146933f5aa8392
parentb785c5f9cd76b739f404b6737c9c9f5339a54754 (diff)
downloadjenkins.debian.net-c82dfda7262819e612b99d26b6f3eaab42129ecd.tar.xz
fixup sql formatting
-rwxr-xr-xbin/reproducible_blacklist.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_blacklist.sh b/bin/reproducible_blacklist.sh
index 6ab013b5..722f29a3 100755
--- a/bin/reproducible_blacklist.sh
+++ b/bin/reproducible_blacklist.sh
@@ -18,7 +18,7 @@ blacklist_packages() {
PKGID=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT id FROM sources WHERE name='$PKG' AND suite='$SUITE' AND architecture='$ARCH';")
cleanup_pkg_files
sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO results (package_id, version, status, build_date) VALUES ('$PKGID', '$VERSION', 'blacklisted', '$DATE');"
- sqlite3 -init $INIT ${PACKAGES_DB} "DELETE FROM schedule where package_id='$PKGID'"
+ sqlite3 -init $INIT ${PACKAGES_DB} "DELETE FROM schedule WHERE package_id='$PKGID'"
done
}