summaryrefslogtreecommitdiff
path: root/lib/mysql-functions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mysql-functions')
-rwxr-xr-xlib/mysql-functions4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 4ed10a2..045f8ca 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -624,6 +624,10 @@ mysql_generate_package_metadata() {
# do a sanity check on the mysql database
mysql_sanity_check() {
+ # retrieve repository_ids if not yet done
+ if [ -z "${repository_ids__any_build_list}" ]; then
+ mysql_retrieve_repository_ids
+ fi
{
printf 'SELECT CONCAT("\\"any\\" build-assignment building \\"",`bp_arch`.`name`,"\\" binary package: ",`binary_packages`.`pkgname`)'
printf ' FROM `binary_packages`'