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/cmd/make.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/make.bash') diff --git a/src/cmd/make.bash b/src/cmd/make.bash index db31b7b5ac..8e1546b53f 100755 --- a/src/cmd/make.bash +++ b/src/cmd/make.bash @@ -7,7 +7,7 @@ set -e bash clean.bash -. $GOROOT/src/Make.$GOARCH +. "$GOROOT"/src/Make.$GOARCH if [ -z "$O" ]; then echo 'missing $O - maybe no Make.$GOARCH?' 1>&2 exit 1 -- cgit v1.3-5-g9baa