Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#849 from aramase/fix-shellcheck-path
Browse files Browse the repository at this point in the history
ci: fix shellcheck file paths
  • Loading branch information
k8s-ci-robot authored Feb 2, 2022
2 parents 609b294 + d0e614f commit c79c919
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ AZURE_CLI := az
KIND := kind
KUBECTL := kubectl
ENVSUBST := envsubst
SHELLCHECK := $(TOOLS_BIN_DIR)/shellcheck-$(SHELLCHECK_VER)
EKSCTL := eksctl
AWS_CLI := aws
YQ := yq
Expand Down Expand Up @@ -218,6 +217,7 @@ $(PROTOC): ## Install protoc
$(YQ): ## Install yq for running the tests
curl -LO https://github.com/mikefarah/yq/releases/download/$(YQ_VERSION)/yq_linux_amd64 && chmod +x ./yq_linux_amd64 && mv yq_linux_amd64 /usr/local/bin/yq

SHELLCHECK := $(TOOLS_BIN_DIR)/shellcheck-$(SHELLCHECK_VER)
$(SHELLCHECK): OS := $(shell uname | tr '[:upper:]' '[:lower:]')
$(SHELLCHECK): ARCH := $(shell uname -m)
$(SHELLCHECK):
Expand Down Expand Up @@ -251,7 +251,7 @@ lint-charts: $(HELM) # Run helm lint tests

.PHONY: shellcheck
shellcheck: $(SHELLCHECK)
$(SHELLCHECK) */*.sh
find . -name '*.sh' -not -path './third_party/*' | xargs $(SHELLCHECK)

## --------------------------------------
## Builds
Expand Down

0 comments on commit c79c919

Please sign in to comment.