Skip to content

Commit

Permalink
ci: fix shellcheck file paths
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
  • Loading branch information
aramase committed Feb 1, 2022
1 parent 609b294 commit d0e614f
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 d0e614f

Please sign in to comment.