From 6fc820729e96527cfbb6bdd48836edcc1d0e4215 Mon Sep 17 00:00:00 2001 From: "Sergio Luis O. B. Correia" Date: Mon, 23 Nov 2009 17:32:51 -0800 Subject: 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 --- src/pkg/exec/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pkg/exec/Makefile') diff --git a/src/pkg/exec/Makefile b/src/pkg/exec/Makefile index 9927eb3e7b..9d88b8d8aa 100644 --- a/src/pkg/exec/Makefile +++ b/src/pkg/exec/Makefile @@ -2,10 +2,10 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include $(GOROOT)/src/Make.$(GOARCH) +include ../../Make.$(GOARCH) TARG=exec GOFILES=\ exec.go\ -include $(GOROOT)/src/Make.pkg +include ../../Make.pkg -- cgit v1.3-5-g9baa