Skip to content

Commit 1b1621f

Browse files
authored
Merge pull request #71 from Bertie690/quote-build-args
Fix: `GO_BUILD_ARGS` is now properly double-quoted
2 parents 9134cb9 + 7074282 commit 1b1621f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_and_release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ else
7272
cgo_enabled="1"
7373
fi
7474
fi
75-
GOOS="$goos" GOARCH="$goarch" CGO_ENABLED="$cgo_enabled" CC="$cc" go build -trimpath -ldflags="-s -w" -o "dist/${p}${ext}" ${GO_BUILD_OPTIONS}
75+
GOOS="$goos" GOARCH="$goarch" CGO_ENABLED="$cgo_enabled" CC="$cc" go build -trimpath -ldflags="-s -w" -o "dist/${p}${ext}" "${GO_BUILD_OPTIONS}"
7676
done
7777
fi
7878

0 commit comments

Comments
 (0)