index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-02-15 21:14:06 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-02-15 21:14:06 +0100 |
commit | 2791561c8c8f1a67f2b363a3725cdd97ebddea19 (patch) | |
tree | 5f597db5127f7552c9851325e88ca9b8092155bd /bin/create-build-support-package | |
parent | 87a944500184bd4b689a2fe1fd006d99b21e1573 (diff) |
-rwxr-xr-x | bin/create-build-support-package | 10 |
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 |