This is an automated email from the ASF dual-hosted git repository.

shuai pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git

commit 11fb3aafd879c001cc98d11214406140a02d0daf
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)

Reply via email to