Skip to content

Commit ff22ccb

Browse files
authored
Merge pull request #2886 from flatcar/krnowak/pkg-auto-fix-occurences
pkg-auto: Fix occurences generation
2 parents 8418d9f + 45faa79 commit ff22ccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg_auto/impl/pkg_auto_lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2742,7 +2742,7 @@ function grep_pkg() {
27422742
pkg=${1}; shift
27432743
# rest are directories
27442744

2745-
GIT_PAGER='' git -C "${scripts}" grep "${pkg}"'\(-[0-9]\|[^a-zA-Z0-9_-]\|$\)' -- "${@}" || :
2745+
GIT_PAGER='' git -C "${scripts}" grep "${pkg}"'\(-[0-9$]\|[^a-zA-Z0-9_-]\|$\)' -- "${@}" || :
27462746
}
27472747

27482748
# Prints the passed files preceding and following with BEGIN ENTRY and

0 commit comments

Comments
 (0)