aboutsummaryrefslogtreecommitdiff
path: root/src/sudo.bash
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2013-05-24 11:06:06 -0700
committerRob Pike <r@golang.org>2013-05-24 11:06:06 -0700
commit650a1ef66fa67654e51d0aeaef4247f49525acdc (patch)
treea65f318e2fd2a47441c76a58286c551c39d86311 /src/sudo.bash
parentee78a707c07123cd50e0c56880e04ae8a5069319 (diff)
downloadgo-650a1ef66fa67654e51d0aeaef4247f49525acdc.tar.xz
cmd/cov: delete
It doesn't work, it's not portable, it's not part of the released binaries, and a better tool is due. Fixes #1319. Fixes #4621. R=golang-dev, bradfitz, dave, rsc CC=golang-dev https://golang.org/cl/9681044
Diffstat (limited to 'src/sudo.bash')
-rwxr-xr-xsrc/sudo.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sudo.bash b/src/sudo.bash
index 7b7d4f1cdd..33254c2c5e 100755
--- a/src/sudo.bash
+++ b/src/sudo.bash
@@ -19,7 +19,7 @@ if ! go help >/dev/null 2>&1; then
fi
eval $(go env)
-if ! [ -x $GOTOOLDIR/cov -a -x $GOTOOLDIR/prof ]; then
+if ! [ -x $GOTOOLDIR/prof ]; then
echo "You don't need to run sudo.bash." >&2
exit 2
fi
@@ -30,7 +30,7 @@ if [[ ! -d /usr/local/bin ]]; then
fi
cd $(dirname $0)
-for i in prof cov
+for i in prof
do
# Remove old binaries if present
sudo rm -f /usr/local/bin/6$i