index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-05-25 13:55:40 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-25 13:55:40 +0200 |
commit | f891ac3a111286ac4095bea048972ae138ec45be (patch) | |
tree | a0aba3e2b1b305da71368a7ce7ffa404160b809e /lib | |
parent | 8aeca7194277ab52126bb3358635743be2ed7e2d (diff) |
-rwxr-xr-x | lib/mysql-functions | 4 |
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`' |