github.com/mdempsky/go@v0.0.0-20151201204031-5dd372bd1e70/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  
    13  exec go tool dist test $*