From 73e2cb4966f8774d88340ae488a04a6760217379 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Wed, 13 Oct 2021 18:06:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95=E7=BC=96?= =?UTF-8?q?=E8=AF=91amd64=E4=BB=A5=E5=A4=96=E6=9E=B6=E6=9E=84=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build.sh b/build/build.sh index 8b0e37ec..880cea97 100755 --- a/build/build.sh +++ b/build/build.sh @@ -60,7 +60,7 @@ function build() { # build echo "building "${NAME}" ..." - env GOOS=$OS GOARCH=$GOARCH go build -tags $TAG -ldflags="-s -w" -o $DIST/bin/${NAME} $ROOT/../cmd/edge-admin/main.go + env GOOS=$OS GOARCH=$ARCH go build -tags $TAG -ldflags="-s -w" -o $DIST/bin/${NAME} $ROOT/../cmd/edge-admin/main.go # delete hidden files find $DIST -name ".DS_Store" -delete