Skip to content

Commit

Permalink
Fix problem with spaces in $PATH
Browse files Browse the repository at this point in the history
Signed-off-by: steigr <[email protected]>
  • Loading branch information
steigr committed Aug 27, 2020
1 parent 401d52f commit b80a914
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 @@ -38,7 +38,7 @@ GOROOT:=
GO111MODULE=on
export PATH GOROOT GO111MODULE
# work around broken PATH export
SHELL:=env PATH=$(PATH) $(SHELL)
SHELL:=env PATH="$(PATH)" $(SHELL)
################################################################################
# ============================== OPTIONS =======================================
# install tool
Expand Down Expand Up @@ -100,4 +100,4 @@ lint:
shellcheck:
hack/make-rules/verify/shellcheck.sh
#################################################################################
.PHONY: all kind build install unit clean update generate gofmt verify lint shellcheck
.PHONY: all kind build install unit clean update generate gofmt verify lint shellcheck

0 comments on commit b80a914

Please sign in to comment.