diff options
| author | Sergio Luis O. B. Correia <sergio@larces.uece.br> | 2009-11-23 17:32:51 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2009-11-23 17:32:51 -0800 |
| commit | 6fc820729e96527cfbb6bdd48836edcc1d0e4215 (patch) | |
| tree | 50b343071af83ccc83b323c93a0be3cbe81aa457 /src/sudo.bash | |
| parent | 2b1133ff863172d669defea18761a84e4a343d80 (diff) | |
| download | go-6fc820729e96527cfbb6bdd48836edcc1d0e4215.tar.xz | |
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
Diffstat (limited to 'src/sudo.bash')
| -rwxr-xr-x | src/sudo.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sudo.bash b/src/sudo.bash index 68f9905912..d87fb231dd 100755 --- a/src/sudo.bash +++ b/src/sudo.bash @@ -12,7 +12,7 @@ esac for i in prof cov do - sudo cp $GOROOT/src/cmd/$i/6$i /usr/local/bin/6$i + sudo cp "$GOROOT"/src/cmd/$i/6$i /usr/local/bin/6$i sudo chgrp procmod /usr/local/bin/6$i sudo chmod g+s /usr/local/bin/6$i done |
