aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-09-05 09:53:22 +0000
committermerakor <cem@ckyln.com>2020-09-05 09:53:22 +0000
commit46280ce5cd323a5374d69da281b2c138baeaccfc (patch)
treefc00658d5836e00af05aaff375fcb822614408aa /src
parentfb59a3a43cd81f3da5492cb2e6f51ee77f8b6204 (diff)
downloadcpt-46280ce5cd323a5374d69da281b2c138baeaccfc.tar.gz
cpt-search: fix shellcheck error
FossilOrigin-Name: 273df65485da7ee56c5192242fbf5549f3e9d9faf925e484d8ce41dd4eb829ed
Diffstat (limited to 'src')
-rwxr-xr-xsrc/cpt-search2
1 files changed, 2 insertions, 0 deletions
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