2 # Copyright 2012 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.
6 eval `{go tool dist env -9}
8 if(! test -x $GOTOOLDIR/dist){
9 echo 'cannot find $GOTOOLDIR/dist; nothing to clean' >[1=2]
13 $GOBIN/go clean -i std
14 $GOBIN/go tool dist clean
15 $GOBIN/go clean -i cmd