Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/nit-picker
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-13 22:03:00 +0200
committerErich Eckner <git@eckner.net>2019-07-13 22:03:00 +0200
commit1d703dcbb8c23fd6945c785abcebf9e21f4a25d6 (patch)
tree6a8b2d1fcb598699f6fe506ce055096fe21b10d1 /bin/nit-picker
parent1f1f28bdf8dee5025e3372e8c7d18ae30c37b5ea (diff)
bin/nit-picker: ignore pkgrel and sub_pkgrel on dependencies
Diffstat (limited to 'bin/nit-picker')
-rwxr-xr-xbin/nit-picker2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nit-picker b/bin/nit-picker
index a84b47d..48608d2 100755
--- a/bin/nit-picker
+++ b/bin/nit-picker
@@ -175,7 +175,7 @@ while pgrep -x ii >/dev/null \
p
' \
| sed '
- s/\(=\|[<>]=\?\)\(\S\+\)$/ \1 \2/
+ s/\(=\|[<>]=\?\)\([^-]\+\)\(-[^-]\+\)\?$/ \1 \2/
t
s/$/ >= '"${min_version}"'/
' \