pkg-auto: Disable pager when printing package occurences

This commit is contained in:
Krzesimir Nowak 2025-01-31 16:16:04 +01:00
parent ff5286a47d
commit 0ba6b62bf0

View File

@ -2768,7 +2768,7 @@ function grep_pkg() {
pkg=${1}; shift
# rest are directories
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