rules: fix broken commitcount on alpine system
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 17 Dec 2022 15:39:00 +0000 (16:39 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 18 Dec 2022 13:19:07 +0000 (14:19 +0100)
commiteb7ffeafbfa78235b05abb4ae479376150d7a814
tree44d5179cab34061d6f96dbcbba7f9f525b9fa066
parent47df168dd279d52127f6bbc623e79bdeeb6c8fd4
rules: fix broken commitcount on alpine system

To generate commitcount we use grep --max-count. This is not present on
alpine grep and cause wrong generation. Use -m as it's just the short
version of --max-count and more portable.

Fixes: #11200
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
rules.mk