aboutsummaryrefslogtreecommitdiffstats
path: root/community/chezmoi/makefile-quote-built-by.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/chezmoi/makefile-quote-built-by.patch')
-rw-r--r--community/chezmoi/makefile-quote-built-by.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/chezmoi/makefile-quote-built-by.patch b/community/chezmoi/makefile-quote-built-by.patch
new file mode 100644
index 00000000000..4cb2d493ac6
--- /dev/null
+++ b/community/chezmoi/makefile-quote-built-by.patch
@@ -0,0 +1,15 @@
+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
+