1
0
mirror of https://github.com/golang/go synced 2024-11-25 09:07:58 -07:00

Make.conf: fix if $HOME has spaces

R=r
https://golang.org/cl/164086
This commit is contained in:
Russ Cox 2009-12-03 17:22:43 -08:00
parent 7e5055ceea
commit aaa2374b74

View File

@ -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)