[Buildroot] [PATCH 2/3] package/linux-tools/S10hyperv: fix shellcheck warnings

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Mar 18 22:05:19 UTC 2023


On Fri, 17 Mar 2023 21:27:23 +0100
Julien Olivain <ju.o at free.fr> wrote:

> When running "make check-package" on a system with shellcheck 0.9.0,
> the command fails with output:
> 
>     make check-package
>     package/linux-tools/S10hyperv:0: run 'shellcheck' and fix the warnings
>     ...
>     2 warnings generated
> 
> This commit fixes the warnings reported by the command:
> 
>     shellcheck package/linux-tools/S10hyperv
> 
> This commit also fixes the four-space indent by a single tab on the
> changed lines. Since this fixes the indentation warnings of
> check-package, the Indent exclusion in .checkpackageignore is also
> removed.
> 
> Fixes:
> 
>     In package/linux-tools/S10hyperv line 27:
>         return $ret
>                ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
> 
>     In package/linux-tools/S10hyperv line 48:
>         return $ret
>                ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
> 
> Signed-off-by: Julien Olivain <ju.o at free.fr>
> ---
>  .checkpackageignore           | 2 +-
>  package/linux-tools/S10hyperv | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list