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.
8 if(! test -f ../bin/go){
9 echo 'run.rc must be run from $GOROOT/src after installing cmd/go' >[1=2]
14 eval `{../bin/go tool dist env}
16 GOPATH=/nonexist-gopath
17 exec ../bin/go tool dist test -rebuild $*