From 46280ce5cd323a5374d69da281b2c138baeaccfc Mon Sep 17 00:00:00 2001 From: merakor Date: Sat, 5 Sep 2020 09:53:22 +0000 Subject: cpt-search: fix shellcheck error FossilOrigin-Name: 273df65485da7ee56c5192242fbf5549f3e9d9faf925e484d8ce41dd4eb829ed --- src/cpt-search | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cpt-search b/src/cpt-search index dbb4eff..5fb851d 100755 --- a/src/cpt-search +++ b/src/cpt-search @@ -17,4 +17,6 @@ eval "$(getoptions_help parser_definition usage "$0")" parse "$@" eval set -- "$REST" +# The 'all' variable is set by the option parser. +# shellcheck disable=2154 for pkg; do pkg_find "$pkg" "${all:+all}"; done -- cgit v1.2.3