mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
Makefile: escape BUILD_ORIGIN properly
When trying to pass a string with spaces that broke the go command cli parsing, the full argument must be put in quotes to avoid escaping issues. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
2
Makefile
2
Makefile
@ -119,7 +119,7 @@ GOFLAGS ?= -trimpath
|
||||
LDFLAGS_PODMAN ?= \
|
||||
$(if $(GIT_COMMIT),-X $(LIBPOD)/define.gitCommit=$(GIT_COMMIT),) \
|
||||
$(if $(BUILD_INFO),-X $(LIBPOD)/define.buildInfo=$(BUILD_INFO),) \
|
||||
$(if $(BUILD_ORIGIN),-X $(LIBPOD)/define.buildOrigin=$(BUILD_ORIGIN),) \
|
||||
$(if $(BUILD_ORIGIN),-X "$(LIBPOD)/define.buildOrigin=$(BUILD_ORIGIN)",) \
|
||||
-X $(LIBPOD)/config._installPrefix=$(PREFIX) \
|
||||
-X $(LIBPOD)/config._etcDir=$(ETCDIR) \
|
||||
-X $(PROJECT)/v5/pkg/systemd/quadlet._binDir=$(BINDIR) \
|
||||
|
Reference in New Issue
Block a user