Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/seed-build-list
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-15 11:01:59 +0200
committerErich Eckner <git@eckner.net>2018-05-15 11:01:59 +0200
commitc95d83e7c6ac3f72536153ea1b1910cea3e414ad (patch)
treefa2192157b4a03f85affeaa021d94b1ab2fb5f94 /bin/seed-build-list
parente42f9b1fd873a032e95941bf5c3527a9bfe4b0a0 (diff)
lib/mysql-functions: mysql_generate_package_metadata() expect current_repository_id instead of current_repository as parameter
Diffstat (limited to 'bin/seed-build-list')
-rwxr-xr-xbin/seed-build-list3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/seed-build-list b/bin/seed-build-list
index 0e43f39..923e65a 100755
--- a/bin/seed-build-list
+++ b/bin/seed-build-list
@@ -371,10 +371,11 @@ printf 'CREATE TEMPORARY TABLE `pkgbases` (`pkgbase` VARCHAR(64), `repository` V
sort -u | \
tr '\t' ' ' | \
if ${update}; then
+ mysql_retrieve_repository_ids
while read -r pkgbase git_rev mod_git_rev repo; do
printf '%s ' "${pkgbase}" "${git_rev}" "${mod_git_rev}" "${repo}" | \
sed 's/ $/\n/'
- mysql_generate_package_metadata 'build-list' "${pkgbase}" "${git_rev}" '' "${mod_git_rev}" "${repo}"
+ mysql_generate_package_metadata "${repository_ids__any_build_list}" "${pkgbase}" "${git_rev}" '' "${mod_git_rev}" "${repo}"
done
rm -f "${build_list_lock_file}"