Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-22 21:58:45 +0100
committerErich Eckner <git@eckner.net>2017-11-22 21:58:45 +0100
commit635165ea2582d1cb2f2ebf238732a48a7b8cb977 (patch)
treeb653cbb0e171fb753f81d048bff3ba47ec7c1761 /bin/build-packages
parente80bb690eff3686e03ea4767931c57c99b3542b3 (diff)
bin/build-packages: remove fractional part from pkgrel
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages2
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 '