This is an automated email from the ASF dual-hosted git repository.
linkinstar pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
The following commit(s) were added to refs/heads/dev by this push:
new 027caa65 Makefile: Wraped with quotes the go location in go variable
027caa65 is described below
commit 027caa650e55da2e85999d80dbeb5ed54b9d1510
Author: EkkoKo <[email protected]>
AuthorDate: Tue Jul 23 12:58:06 2024 +0300
Makefile: Wraped with quotes the go location in go variable
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 9cda2f5e..9dc8c983 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ DOCKER_CMD=docker
GO_ENV=CGO_ENABLED=0 GO111MODULE=on
Revision=$(shell git rev-parse --short HEAD 2>/dev/null || echo "")
GO_FLAGS=-ldflags="-X
github.com/apache/incubator-answer/cmd.Version=$(VERSION) -X
'github.com/apache/incubator-answer/cmd.Revision=$(Revision)' -X
'github.com/apache/incubator-answer/cmd.Time=`date +%s`' -extldflags -static"
-GO=$(GO_ENV) $(shell which go)
+GO=$(GO_ENV) "$(shell which go)"
build: generate
@$(GO) build $(GO_FLAGS) -o $(BIN) $(DIR_SRC)