Browse Source

bin/build-packages: fix -l

Erich Eckner 3 months ago
parent
commit
17bf942ef3
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      bin/build-packages

+ 3
- 3
bin/build-packages View File

@@ -40,14 +40,14 @@ usage() {
40 40
   >&2 echo '               fixes did not get released yet. Hence, it conflicts intentionally'
41 41
   >&2 echo '               with -n, -l, -t or -x and it requires -p.'
42 42
   >&2 echo '  -h|--help:   Show this help and exit.'
43
-  >&2 echo '  -l|--local pkgname.git-revision.git-mod-revision.repository:'
43
+  >&2 echo '  -l|--local pkgname.git-revision.git-mod-revision.repository.architecture:'
44 44
   >&2 echo '               Build the given package without asking / reporting to the'
45 45
   >&2 echo '               build master. Cannot be combined with -n, -p, -t or -x.'
46 46
   >&2 echo '             where:'
47 47
   >&2 echo '               - git-revision: packages-HEAD or community-HEAD or a valid commit'
48 48
   >&2 echo '               - git-mod-revision: work-tree or a valid commit'
49 49
   >&2 echo '             example:'
50
-  >&2 echo '               build-package -l   which.packages-HEAD.work-tree.core'
50
+  >&2 echo '               build-package -l   which.packages-HEAD.work-tree.core.i686'
51 51
   >&2 echo '  -n count:    Build $count packages (if available), then exit.'
52 52
   >&2 echo '               $count=0 is interpreted as infinity.'
53 53
   >&2 echo '               The default is $count=1 or 0 iff -t or -x is given.'
@@ -262,7 +262,7 @@ while [ "${count}" -ne 0 ] && \
262 262
     package=$(
263 263
       echo "${forced_package}" | \
264 264
         sed '
265
-          s|\.\([^.]\+\)\.\([^.]\+\)\.\([^.]\+\)\.\([^.]\+\)$| \1 \2 \3 \4|
265
+          s|\.\([^.]\+\)\.\([^.]\+\)\.\([^.]\+\)\.\([^.]\+\)$| \1 \2 \3 0 \4|
266 266
         '
267 267
     )
268 268
     expected_packages=''