aboutsummaryrefslogtreecommitdiff
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
commit6d4da06d3647607081819e444be60259225d0efe (patch)
treecaeab2fbcd919dbdfe880343305d3de1352da96a /src/sudo.bash
parent1e374502f4dac4ed8248b892a39edf65a8fe0183 (diff)
downloadgo-6d4da06d3647607081819e444be60259225d0efe.tar.xz
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 https://golang.org/cl/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 78cdb0b8a7..cccebd3427 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