From: Russ Cox Date: Fri, 4 Dec 2009 01:22:43 +0000 (-0800) Subject: Make.conf: fix if $HOME has spaces X-Git-Tag: weekly.2009-12-07~41 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=aaa2374b74ff75f8562018b50844a53868d9dfff;p=gostls13.git Make.conf: fix if $HOME has spaces R=r https://golang.org/cl/164086 --- 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)