diff options
author | Erich Eckner <git@eckner.net> | 2019-07-03 10:47:22 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-07-03 10:47:22 +0200 |
commit | 17bf942ef3cc75299697d79cc1d6fe6076ad3c5f (patch) | |
tree | 92a7f493dcbb539c871566dd4d8920109067037a /bin/build-packages | |
parent | 3181e6826afaab3ebc8c4df2b6bc61bb73a9c73b (diff) | |
download | builder-17bf942ef3cc75299697d79cc1d6fe6076ad3c5f.tar.xz |
bin/build-packages: fix -l
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-x | bin/build-packages | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/build-packages b/bin/build-packages index 9ae9891..119c593 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -40,14 +40,14 @@ usage() { >&2 echo ' fixes did not get released yet. Hence, it conflicts intentionally' >&2 echo ' with -n, -l, -t or -x and it requires -p.' >&2 echo ' -h|--help: Show this help and exit.' - >&2 echo ' -l|--local pkgname.git-revision.git-mod-revision.repository:' + >&2 echo ' -l|--local pkgname.git-revision.git-mod-revision.repository.architecture:' >&2 echo ' Build the given package without asking / reporting to the' >&2 echo ' build master. Cannot be combined with -n, -p, -t or -x.' >&2 echo ' where:' >&2 echo ' - git-revision: packages-HEAD or community-HEAD or a valid commit' >&2 echo ' - git-mod-revision: work-tree or a valid commit' >&2 echo ' example:' - >&2 echo ' build-package -l which.packages-HEAD.work-tree.core' + >&2 echo ' build-package -l which.packages-HEAD.work-tree.core.i686' >&2 echo ' -n count: Build $count packages (if available), then exit.' >&2 echo ' $count=0 is interpreted as infinity.' >&2 echo ' The default is $count=1 or 0 iff -t or -x is given.' @@ -262,7 +262,7 @@ while [ "${count}" -ne 0 ] && \ package=$( echo "${forced_package}" | \ sed ' - s|\.\([^.]\+\)\.\([^.]\+\)\.\([^.]\+\)\.\([^.]\+\)$| \1 \2 \3 \4| + s|\.\([^.]\+\)\.\([^.]\+\)\.\([^.]\+\)\.\([^.]\+\)$| \1 \2 \3 0 \4| ' ) expected_packages='' |