summaryrefslogtreecommitdiff
path: root/src/sudo.bash
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2012-03-10 03:42:23 +0800
committerShenghou Ma <minux.ma@gmail.com>2012-03-10 03:42:23 +0800
commit3fa1860bb3fe89d21b2f63b76b54090899ff3b68 (patch)
tree3b4240bff39734d08073f9e63c2be184941a5b31 /src/sudo.bash
parent60b8cc543fa3ed887bdceed82f91d2f8314f9e8c (diff)
downloadgo-3fa1860bb3fe89d21b2f63b76b54090899ff3b68.tar.gz
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
Diffstat (limited to 'src/sudo.bash')
-rwxr-xr-xsrc/sudo.bash2
1 files changed, 1 insertions, 1 deletions
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