From 17bf942ef3cc75299697d79cc1d6fe6076ad3c5f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 3 Jul 2019 10:47:22 +0200 Subject: bin/build-packages: fix -l --- bin/build-packages | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/build-packages') 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='' -- cgit v1.2.3