2 # Copyright 2009 The Go Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style
4 # license that can be found in the LICENSE file.
8 eval $(go tool dist env)
10 if [ ! -x $GOTOOLDIR/dist ]; then
11 echo 'cannot find $GOTOOLDIR/dist; nothing to clean' >&2
15 "$GOBIN/go" clean -i std