1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

hack/make/.go-autogen: fix LDFLAGS to accept values with spaces

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2020-01-18 00:40:06 +01:00
parent e6265b2688
commit 572cb55c0e
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -7,14 +7,14 @@ source hack/dockerfile/install/tini.installer
source hack/dockerfile/install/containerd.installer
LDFLAGS="${LDFLAGS} \
-X github.com/docker/docker/dockerversion.Version=${VERSION} \
-X github.com/docker/docker/dockerversion.GitCommit=${GITCOMMIT} \
-X github.com/docker/docker/dockerversion.BuildTime=${BUILDTIME} \
-X github.com/docker/docker/dockerversion.IAmStatic=${IAMSTATIC:-true} \
-X github.com/docker/docker/dockerversion.PlatformName=${PLATFORM} \
-X github.com/docker/docker/dockerversion.ProductName=${PRODUCT} \
-X github.com/docker/docker/dockerversion.DefaultProductLicense=${DEFAULT_PRODUCT_LICENSE} \
-X github.com/docker/docker/dockerversion.InitCommitID=${TINI_COMMIT} \
-X \"github.com/docker/docker/dockerversion.Version=${VERSION}\" \
-X \"github.com/docker/docker/dockerversion.GitCommit=${GITCOMMIT}\" \
-X \"github.com/docker/docker/dockerversion.BuildTime=${BUILDTIME}\" \
-X \"github.com/docker/docker/dockerversion.IAmStatic=${IAMSTATIC:-true}\" \
-X \"github.com/docker/docker/dockerversion.PlatformName=${PLATFORM}\" \
-X \"github.com/docker/docker/dockerversion.ProductName=${PRODUCT}\" \
-X \"github.com/docker/docker/dockerversion.DefaultProductLicense=${DEFAULT_PRODUCT_LICENSE}\" \
-X \"github.com/docker/docker/dockerversion.InitCommitID=${TINI_COMMIT}\" \
"
# Compile the Windows resources into the sources