From 3fa1860bb3fe89d21b2f63b76b54090899ff3b68 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Sat, 10 Mar 2012 03:42:23 +0800 Subject: cmd/dist, cmd/go: move CGO_ENABLED from 'go tool dist env' to 'go env' So that we don't duplicate knowledge about which OS/ARCH combination supports cgo. Also updated src/run.bash and src/sudo.bash to use 'go env'. R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/5792055 --- src/sudo.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sudo.bash') diff --git a/src/sudo.bash b/src/sudo.bash index 78cdb0b8a..cccebd342 100755 --- a/src/sudo.bash +++ b/src/sudo.bash @@ -17,7 +17,7 @@ if [[ ! -d /usr/local/bin ]]; then exit 2 fi -eval $(go tool dist env) +eval $(go env) cd $(dirname $0) for i in prof cov do -- cgit v1.2.1