Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}"'/
' \