From 45fd300b04871b61bc7746808403ea93335c39a5 Mon Sep 17 00:00:00 2001 From: Alex Demidoff Date: Wed, 6 Nov 2024 00:17:59 +0300 Subject: [PATCH] PMM-12899 fix "build_command" extrapolation --- admin/Makefile | 2 +- agent/Makefile | 2 +- build/scripts/build-client-binary | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/Makefile b/admin/Makefile index 0d29552f70..b3f4249f03 100644 --- a/admin/Makefile +++ b/admin/Makefile @@ -13,7 +13,7 @@ PMM_RELEASE_FULLCOMMIT ?= $(shell git rev-parse HEAD) PMM_RELEASE_BRANCH ?= $(shell git describe --always --contains --all) ifdef NO_VCS - NO_VCS := -buildvcs=false + NO_VCS = -buildvcs=false endif ifeq ($(GOBIN),) GOBIN := $(shell go env GOPATH)/bin diff --git a/agent/Makefile b/agent/Makefile index 6c1e863b6a..fb346bd539 100644 --- a/agent/Makefile +++ b/agent/Makefile @@ -14,7 +14,7 @@ PMM_RELEASE_BRANCH ?= $(shell git describe --always --contains --all) PMM_DEV_SERVER_PORT ?= 8443 ifdef NO_VCS - NO_VCS := -buildvcs=false + NO_VCS = -buildvcs=false endif ifeq ($(GOBIN),) GOBIN := $(shell go env GOPATH)/bin diff --git a/build/scripts/build-client-binary b/build/scripts/build-client-binary index 8706136537..f20b905ddc 100755 --- a/build/scripts/build-client-binary +++ b/build/scripts/build-client-binary @@ -83,7 +83,7 @@ gobuild_component() { tar -C /tmp/go/src/${extract_path} --strip-components=1 -zxpf ${src_dir}/${archive} - ${build_command} + "${build_command}" " }