github.com/zebozhuang/go@v0.0.0-20200207033046-f8a98f6f5c5d/src/run.rc (about)

     1  #!/bin/rc -e
     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.
     5  
     6  rfork e
     7  
     8  eval `{go env}
     9  
    10  GOPATH = () # we disallow local import for non-local packages, if $GOROOT happens
    11              # to be under $GOPATH, then some tests below will fail
    12  GOBIN = () # Issue 14340
    13  
    14  exec go tool dist test -rebuild $*