aports/community/chezmoi/makefile-quote-built-by.patch
Kevin Daudt f49fb7d357 community/chezmoi: upgrade to 2.19.0
Modernize:
- Use provided makefile
- Enable tests
- Set standard go flags
2022-07-17 19:57:25 +00:00

16 lines
328 B
Diff

To allow for spaces in BUILT_BY
diff --git a/Makefile b/Makefile
index 244ae32..1c4f658 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ ifdef DATE
GO_LDFLAGS+=-X main.date=${DATE}
endif
ifdef BUILT_BY
- GO_LDFLAGS+=-X main.builtBy=${BUILT_BY}
+ GO_LDFLAGS+=-X 'main.builtBy=${BUILT_BY}'
endif
PREFIX?=/usr/local