From aaa2374b74ff75f8562018b50844a53868d9dfff Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 3 Dec 2009 17:22:43 -0800 Subject: [PATCH] Make.conf: fix if $HOME has spaces R=r https://golang.org/cl/164086 --- src/Make.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Make.conf b/src/Make.conf index 21eee46784..242fb74273 100644 --- a/src/Make.conf +++ b/src/Make.conf @@ -9,7 +9,10 @@ O=o YFLAGS=-d # GNU Make syntax: ifndef GOBIN -GOBIN="$(HOME)/bin" +nullstring := +space := $(nullstring) # a space at the end +QUOTED_HOME=$(subst $(space),\ ,$(HOME)) +GOBIN=$(QUOTED_HOME)/bin endif PWD=$(shell pwd) -- 2.51.0