Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/build-master-status-from-mysql
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-21 14:30:35 +0100
committerErich Eckner <git@eckner.net>2018-03-21 14:30:35 +0100
commitd85bf410d3c0a441eabd3e7ef7e098eba4c4005a (patch)
tree44ee144592de18af068bf19912866069626fccb0 /bin/build-master-status-from-mysql
parent47eb9a4ee2a93630dd9d8712b4ea7b3386029cf6 (diff)
bin/build-master-status-from-mysql: clean mysql database before check
Diffstat (limited to 'bin/build-master-status-from-mysql')
-rwxr-xr-xbin/build-master-status-from-mysql3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/build-master-status-from-mysql b/bin/build-master-status-from-mysql
index edabc1e..581fd43 100755
--- a/bin/build-master-status-from-mysql
+++ b/bin/build-master-status-from-mysql
@@ -17,6 +17,9 @@ if ! flock -n 9; then
exit
fi
+# shellcheck disable=SC2119
+mysql_cleanup
+
# shellcheck disable=SC2016
{
printf 'SELECT DISTINCT `package_sources`.`pkgbase`,`package_sources`.`git_revision`,`package_sources`.`mod_git_revision`,`upstream_repositories`.`name`'