diff options
| author | Russ Cox <rsc@golang.org> | 2009-12-03 17:22:43 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2009-12-03 17:22:43 -0800 |
| commit | aaa2374b74ff75f8562018b50844a53868d9dfff (patch) | |
| tree | a96d06bd130e4dd48c59936a2038d1a62bae52d7 | |
| parent | 7e5055ceea61339e8d91a41986736990b645c34e (diff) | |
| download | go-aaa2374b74ff75f8562018b50844a53868d9dfff.tar.xz | |
Make.conf: fix if $HOME has spaces
R=r
https://golang.org/cl/164086
| -rw-r--r-- | src/Make.conf | 5 |
1 files changed, 4 insertions, 1 deletions
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) |
