Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/create-build-support-package
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-15 21:14:06 +0100
committerErich Eckner <git@eckner.net>2019-02-15 21:14:06 +0100
commit2791561c8c8f1a67f2b363a3725cdd97ebddea19 (patch)
tree5f597db5127f7552c9851325e88ca9b8092155bd /bin/create-build-support-package
parent87a944500184bd4b689a2fe1fd006d99b21e1573 (diff)
bin/create-build-support-package: some bug fixes
Diffstat (limited to 'bin/create-build-support-package')
-rwxr-xr-xbin/create-build-support-package10
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/create-build-support-package b/bin/create-build-support-package
index 1763b41..caf21f0 100755
--- a/bin/create-build-support-package
+++ b/bin/create-build-support-package
@@ -25,9 +25,9 @@ usage() {
eval set -- "$(
getopt -o a:hw \
--long arch \
- --long from \
+ --long from: \
--long help \
- --long shim \
+ --long shim: \
--long wait \
-n "$(basename "$0")" -- "$@" || \
echo usage
@@ -79,6 +79,7 @@ while true; do
exit 42
;;
esac
+ shift
done
if [ -n "${source_package}" ] \
@@ -109,9 +110,10 @@ if [ -n "${source_package}" ]; then
printf ' FROM `binary_packages`'
mysql_join_binary_packages_binary_packages_in_repositories
mysql_join_binary_packages_in_repositories_repositories
- mysql_join_repositories_architectures
+ mysql_join_repositories_architectures '' 'r_a'
+ mysql_join_binary_packages_architectures
printf ' WHERE `repositories`.`is_on_master_mirror`'
- printf ' AND `architectures`.`name`=from_base64("%s")' \
+ printf ' AND `r_a`.`name`=from_base64("%s")' \
"$(
printf '%s' "${repo_arch}" \
| base64 -w0