Skip to content

Commit

Permalink
potential fix for spaces in source path
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-kane authored and Jason Kane committed Apr 26, 2021
1 parent 216edda commit 0905dd7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ KIND_BUILD_FLAGS?=-trimpath -ldflags="-buildid= -w -X=sigs.k8s.io/kind/pkg/cmd/k
all: build
# builds kind in a container, outputs to $(OUT_DIR)
kind:
go build -v -o $(OUT_DIR)/$(KIND_BINARY_NAME) $(KIND_BUILD_FLAGS)
go build -v -o "$(OUT_DIR)/$(KIND_BINARY_NAME)" $(KIND_BUILD_FLAGS)
# alias for building kind
build: kind
# use: make install INSTALL_DIR=/usr/local/bin
install: build
$(INSTALL) -d $(INSTALL_DIR)
$(INSTALL) $(OUT_DIR)/$(KIND_BINARY_NAME) $(INSTALL_DIR)/$(KIND_BINARY_NAME)
$(INSTALL) "$(OUT_DIR)/$(KIND_BINARY_NAME)" "$(INSTALL_DIR)/$(KIND_BINARY_NAME)"
################################################################################
# ================================= Testing ====================================
# unit tests (hermetic)
Expand All @@ -84,8 +84,8 @@ test:
# standard cleanup target
# TODO: remove the vendor part in the future. We no longer populate vendor
clean:
rm -rf $(OUT_DIR)/
rm -rf $(REPO_ROOT)/vendor/
rm -rf "$(OUT_DIR)/"
rm -rf "$(REPO_ROOT)/vendor/"
################################################################################
# ============================== Auto-Update ===================================
# update generated code, gofmt, etc.
Expand Down

0 comments on commit 0905dd7

Please sign in to comment.