mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 14:36:58 +02:00
pkg-auto: Fix a shellcheck warning
This commit is contained in:
parent
0d06b737ac
commit
ecd24bd5eb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user