summaryrefslogtreecommitdiff
path: root/bin
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
parent1f1f28bdf8dee5025e3372e8c7d18ae30c37b5ea (diff)
downloadbuilder-1d703dcbb8c23fd6945c785abcebf9e21f4a25d6.tar.xz
bin/nit-picker: ignore pkgrel and sub_pkgrel on dependencies
Diffstat (limited to 'bin')
-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}"'/
' \