Merge pull request #2886 from flatcar/krnowak/pkg-auto-fix-occurences

pkg-auto: Fix occurences generation
This commit is contained in:
Krzesimir Nowak 2025-05-09 11:29:57 +02:00 committed by GitHub
commit ff22ccb5bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2742,7 +2742,7 @@ function grep_pkg() {
pkg=${1}; shift
# rest are directories
GIT_PAGER='' git -C "${scripts}" grep "${pkg}"'\(-[0-9]\|[^a-zA-Z0-9_-]\|$\)' -- "${@}" || :
GIT_PAGER='' git -C "${scripts}" grep "${pkg}"'\(-[0-9$]\|[^a-zA-Z0-9_-]\|$\)' -- "${@}" || :
}
# Prints the passed files preceding and following with BEGIN ENTRY and