Skip to content

Commit 9288461

Browse files
authored
Support paths with spaces when using make (#748)
1 parent 00d55e3 commit 9288461

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ install: install-tpi
2121
tpi:
2222
CGO_ENABLED=0 \
2323
go build -ldflags="$(GO_LINK_FLAGS)" \
24-
-o $(shell pwd)/terraform-provider-iterative \
25-
$(TPI_PATH)
24+
-o "$(shell pwd)/terraform-provider-iterative" \
25+
"$(TPI_PATH)"
2626

2727
.PHONY: leo
2828
leo:
2929
CGO_ENABLED=0 \
3030
go build -ldflags="$(GO_LINK_FLAGS)" \
31-
-o $(shell pwd)/leo \
32-
$(LEO_PATH)
31+
-o "$(shell pwd)/leo" \
32+
"$(LEO_PATH)"
3333

3434
.PHONY: install-tpi
3535
install-tpi:
36-
GOBIN=${TF_PLUGIN_INSTALL_PATH} go install -ldflags="$(GO_LINK_FLAGS)" $(TPI_PATH)
36+
GOBIN=${TF_PLUGIN_INSTALL_PATH} go install -ldflags="$(GO_LINK_FLAGS)" "$(TPI_PATH)"
3737

3838
.PHONY: test
3939
test:

0 commit comments

Comments
 (0)