summaryrefslogtreecommitdiff
path: root/bin/create-build-support-package
diff options
context:
space:
mode:
Diffstat (limited to 'bin/create-build-support-package')
-rwxr-xr-xbin/create-build-support-package6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/create-build-support-package b/bin/create-build-support-package
index 1d4ec66..3e9dd8d 100755
--- a/bin/create-build-support-package
+++ b/bin/create-build-support-package
@@ -127,6 +127,8 @@ if [ -n "${source_package}" ]; then
mysql_join_binary_packages_in_repositories_repositories
mysql_join_repositories_architectures '' 'r_a'
mysql_join_binary_packages_architectures
+ printf ' LEFT'
+ mysql_join_binary_packages_compressions
printf ' WHERE `repositories`.`is_on_master_mirror`'
printf ' AND `r_a`.`name`=from_base64("%s")' \
"$(
@@ -136,7 +138,7 @@ if [ -n "${source_package}" ]; then
printf ' AND '
mysql_package_name_query '' 'XX' \
| sed '
- s/,"-",`XX.*\.pkg\.tar\.xz"//
+ s/,"-",`XX.*\.`suffix`)//
'
printf '=from_base64("%s")' \
"$(
@@ -258,6 +260,8 @@ elif [ -n "${shim_package}" ]; then
printf 'SELECT DISTINCT `binary_packages`.`id`'
printf ' FROM `binary_packages`'
mysql_join_binary_packages_architectures
+ printf ' LEFT'
+ mysql_join_binary_packages_compressions
printf ' WHERE '
mysql_package_name_query \
| sed 's/pkgname`,"/\0-shim/'