diff options
author | Rob Pike <r@golang.org> | 2009-04-17 19:39:45 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-04-17 19:39:45 -0700 |
commit | c6e22b2438b7b1b5494ed258a005054c3cab0562 (patch) | |
tree | 18ba948edb8376fe9d2d2d7618d045a5d806a0db /src/cmd/gotest | |
parent | 02b51dcd281fd71b83742605b030a8d4f9dc4e0f (diff) | |
download | golang-c6e22b2438b7b1b5494ed258a005054c3cab0562.tar.gz |
add -P pkgdir option to 6l to have it look first in pkgdir for a package.
this allows gotest to find the locally built package when doing
make
gotest
without this option, one would have to say
make install
gotest
which kinda defeats the purpose
based on discussions with rsc.
R=ken,rsc
DELTA=12 (10 added, 1 deleted, 1 changed)
OCL=27606
CL=27606
Diffstat (limited to 'src/cmd/gotest')
-rwxr-xr-x | src/cmd/gotest/gotest | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/gotest/gotest b/src/cmd/gotest/gotest index 2cb08c529..12db03bf3 100755 --- a/src/cmd/gotest/gotest +++ b/src/cmd/gotest/gotest @@ -13,6 +13,7 @@ GC=${GC:-${O}g} GL=${GL:-${O}l} export GC GL GC="$GC -I _obj" +GL="$GL -P _obj" gofiles="" loop=true |