go: makes it build for the case $GOROOT has whitespaces
the bash scripts and makefiles for building go didn't take into account the fact $GOROOT / $GOBIN could both be directories containing whitespaces, and was not possible to build it in such a situation. this commit adjusts the various makefiles/scripts to make it aware of that possibility, and now it builds successfully when using a path with whitespaces as well. Fixes #115. R=rsc, dsymonds1 https://golang.org/cl/157067
This commit is contained in:
джерело
79f2a55aea
коміт
a6ab3720e1
4
Makefile
4
Makefile
@ -2,7 +2,7 @@
|
|||||||
# Use of this source code is governed by a BSD-style
|
# Use of this source code is governed by a BSD-style
|
||||||
# license that can be found in the LICENSE file.
|
# license that can be found in the LICENSE file.
|
||||||
|
|
||||||
include $(GOROOT)/src/Make.$(GOARCH)
|
include ../../../Make.$(GOARCH)
|
||||||
|
|
||||||
TARG=crypto/tls
|
TARG=crypto/tls
|
||||||
GOFILES=\
|
GOFILES=\
|
||||||
@ -18,4 +18,4 @@ GOFILES=\
|
|||||||
ca_set.go\
|
ca_set.go\
|
||||||
tls.go\
|
tls.go\
|
||||||
|
|
||||||
include $(GOROOT)/src/Make.pkg
|
include ../../../Make.pkg
|
||||||
|
Завантаження…
Посилання в новій задачі
Block a user