diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2017-05-05 18:41:08 -0400 |
---|---|---|
committer | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2017-07-05 18:21:56 +0200 |
commit | 78fabcfa0694ae8c81e1d5ec0e5dacaed533545e (patch) | |
tree | 0f6c24c5e0d7166fbe3540acff00d7e14d02e26c /finddeps.in | |
parent | 3f72579b2813bd93c586aec80c48472f41c60d78 (diff) | |
download | devtools32-78fabcfa0694ae8c81e1d5ec0e5dacaed533545e.tar.xz |
Quote strings that shellcheck warns about.
These changes are all strictly "slap some double-quotes in there".
Anything more than that is not included in this commit.
Diffstat (limited to 'finddeps.in')
-rw-r--r-- | finddeps.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/finddeps.in b/finddeps.in index 03e5501..c71f151 100644 --- a/finddeps.in +++ b/finddeps.in @@ -24,17 +24,17 @@ find . -type d | while read d; do for dep in "${depends[@]}"; do # lose the version comparator, if any depname=${dep%%[<>=]*} - [[ $depname = $match ]] && echo "$d (depends)" + [[ $depname = "$match" ]] && echo "$d (depends)" done for dep in "${makedepends[@]}"; do # lose the version comparator, if any depname=${dep%%[<>=]*} - [[ $depname = $match ]] && echo "$d (makedepends)" + [[ $depname = "$match" ]] && echo "$d (makedepends)" done for dep in "${optdepends[@]/:*}"; do # lose the version comaparator, if any depname=${dep%%[<>=]*} - [[ $depname = $match ]] && echo "$d (optdepends)" + [[ $depname = "$match" ]] && echo "$d (optdepends)" done fi done |