Skip to content

Commit 720d915

Browse files
committed
fix(makefile): if the original path has spaces, the error "No such file or directory" will appear
Signed-off-by: cndoit18 <[email protected]>
1 parent 640782f commit 720d915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ GOOS ?= $(shell uname -s | tr '[:upper:]' '[:lower:]')
1919
GOARCH ?= amd64
2020

2121
PATH := $(BINDIR):$(PATH)
22-
SHELL := env PATH=$(PATH) /bin/sh
22+
SHELL := env PATH='$(PATH)' /bin/sh
2323

2424
# check if kubebuilder is installed in local bin dir and set KUBEBUILDER_ASSETS
2525
ifneq ("$(wildcard $(BINDIR)/kubebuilder)", "")

0 commit comments

Comments
 (0)