Skip to content

Commit 708b349

Browse files
Merge pull request #25252 from Luap99/build-origin
Makefile: escape BUILD_ORIGIN properly
2 parents 2cbb5fe + b4fc9cd commit 708b349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ GOFLAGS ?= -trimpath
119119
LDFLAGS_PODMAN ?= \
120120
$(if $(GIT_COMMIT),-X $(LIBPOD)/define.gitCommit=$(GIT_COMMIT),) \
121121
$(if $(BUILD_INFO),-X $(LIBPOD)/define.buildInfo=$(BUILD_INFO),) \
122-
$(if $(BUILD_ORIGIN),-X $(LIBPOD)/define.buildOrigin=$(BUILD_ORIGIN),) \
122+
$(if $(BUILD_ORIGIN),-X "$(LIBPOD)/define.buildOrigin=$(BUILD_ORIGIN)",) \
123123
-X $(LIBPOD)/config._installPrefix=$(PREFIX) \
124124
-X $(LIBPOD)/config._etcDir=$(ETCDIR) \
125125
-X $(PROJECT)/v5/pkg/systemd/quadlet._binDir=$(BINDIR) \

0 commit comments

Comments
 (0)