Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/mysql-functions2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index c975fdc..e0715c3 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -435,6 +435,8 @@ mysql_generate_package_metadata() {
printf ' JOIN `architectures` AS `ba_a`'
printf ' ON `ba_a`.`name`=`links`.`build_architecture`'
mysql_join_architectures_build_assignments 'ba_a'
+ printf ' AND `build_assignments`.`package_source`=%s' \
+ "${package_source_id}"
printf ' WHERE `links`.`type`="arch";\n'
printf 'INSERT IGNORE INTO `binary_packages_in_repositories` ('