Commit aaa2374b authored by Russ Cox's avatar Russ Cox

Make.conf: fix if $HOME has spaces

R=r
https://golang.org/cl/164086
parent 7e5055ce
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment