From 06b58bf63d7184f39400352245a20a21423f7b6e Mon Sep 17 00:00:00 2001 From: Dimitrios Liappis Date: Tue, 23 Apr 2024 12:15:59 +0300 Subject: [PATCH] Test fix for BK packaging failure PR #38952 surfaced a bug with #38366 where the parameters weren't enclosed in doublet quotes. https://buildkite.com/elastic/beats-xpack-osquerybeat/builds/1973#018f06dd-19fd-40e0-ba21-960d195f178e/131-316 --- dev-tools/mage/crossbuild.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tools/mage/crossbuild.go b/dev-tools/mage/crossbuild.go index ddeabbfdb79b..917f54eb3df8 100644 --- a/dev-tools/mage/crossbuild.go +++ b/dev-tools/mage/crossbuild.go @@ -327,7 +327,7 @@ func (b GolangCrossBuilder) Build() error { args = append(args, "--rm", - "--env", "GOFLAGS=-mod=readonly -buildvcs=false", + "--env", "'GOFLAGS=-mod=readonly -buildvcs=false'", "--env", "MAGEFILE_VERBOSE="+verbose, "--env", "MAGEFILE_TIMEOUT="+EnvOr("MAGEFILE_TIMEOUT", ""), "--env", fmt.Sprintf("SNAPSHOT=%v", Snapshot),