diff options
author | Erich Eckner <git@eckner.net> | 2017-11-22 21:58:45 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-11-22 21:58:45 +0100 |
commit | 635165ea2582d1cb2f2ebf238732a48a7b8cb977 (patch) | |
tree | b653cbb0e171fb753f81d048bff3ba47ec7c1761 /bin/build-packages | |
parent | e80bb690eff3686e03ea4767931c57c99b3542b3 (diff) | |
download | builder-635165ea2582d1cb2f2ebf238732a48a7b8cb977.tar.xz |
bin/build-packages: remove fractional part from pkgrel
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-x | bin/build-packages | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-packages b/bin/build-packages index 6c9478d..344c942 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -253,7 +253,7 @@ while [ "${count}" -ne 0 ]; do s|^pkgbase = \(.*\)$|0 \1-| s|^epoch = \(.*\)$|1 \1:| s|^pkgver = \(.*\)$|2 \1-| - s|^pkgrel = \(.*\)$|3 \1.src.tar.gz| + s|^pkgrel = \([^.]*\)\(\..*\)\?$|3 \1.src.tar.gz| ' | \ sort -k1n,1 | \ sed ' |