summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
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 '