rules: fix broken commitcount on alpine system
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 17 Dec 2022 15:39:00 +0000 (16:39 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 21 Dec 2022 23:14:30 +0000 (00:14 +0100)
commit9aa95bbebb07554ccf6f611ead081f85e1f8b902
treec9e2473e275f6740f03c300cee266008097afcec
parentfcff234fd89e8b24aa3ad2f352ddbb5304c38dc1
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>
(cherry picked from commit eb7ffeafbfa78235b05abb4ae479376150d7a814)
rules.mk