1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/hack/validate
Kir Kolyshkin 4be12ad3d0 hack/validate/vendor: shellcheck fixes
The export statement is definitely not needed. The rest is obvious.

> In hack/validate/vendor line 3:
> export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
>        ^-- SC2155: Declare and assign separately to avoid masking return values.
>
>
> In hack/validate/vendor line 43:
>	if ls -d vendor/$f  > /dev/null 2>&1; then
>                       ^-- SC2086: Double quote to prevent globbing and word splitting.
>
>
> In hack/validate/vendor line 44:
> 		found=$(find vendor/$f -iregex '.*LICENSE.*' -or -iregex '.*COPYRIGHT.*' -or -iregex '.*COPYING.*' | wc -l)
>                                   ^-- SC2086: Double quote to prevent globbing and word splitting.
>
>
> In hack/validate/vendor line 45:
>		if [ $found -eq 0 ]; then
>                    ^-- SC2086: Double quote to prevent globbing and word splitting.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2019-10-28 19:27:55 -07:00
..
.swagger-yamllint
.validate hack: no need to git fetch in CI 2019-02-05 02:54:50 +00:00
all Shell scripts: fix bare variables 2019-01-10 02:50:47 +01:00
changelog-date-descending hack: fix mixed tabs/spaces for indentation 2019-08-02 15:58:33 +02:00
changelog-well-formed hack: fix mixed tabs/spaces for indentation 2019-08-02 15:58:33 +02:00
dco Shell scripts: fix bare variables 2019-01-10 02:50:47 +01:00
default Revert "Revert "hack: temporarily disable deprecate-integration-cli"" 2019-09-18 12:58:02 +02:00
default-seccomp Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
deprecate-integration-cli hack: fix mixed tabs/spaces for indentation 2019-08-02 15:58:33 +02:00
golangci-lint bump golangci-lint v1.20.0 2019-10-18 00:46:15 +02:00
golangci-lint.yml golangci-lint: include all enabled linters in config 2019-10-18 00:46:13 +02:00
pkg-imports Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
swagger Set locale to fix yamlllint 2019-08-06 01:35:35 +02:00
swagger-gen hack: fix mixed tabs/spaces for indentation 2019-08-02 15:58:33 +02:00
toml Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
vendor hack/validate/vendor: shellcheck fixes 2019-10-28 19:27:55 -07:00