]> Cypherpunks repositories - gostls13.git/commitdiff
test/run: add /usr/pkg/bin to PATH.
authorShenghou Ma <minux.ma@gmail.com>
Mon, 3 Mar 2014 07:16:15 +0000 (02:16 -0500)
committerShenghou Ma <minux.ma@gmail.com>
Mon, 3 Mar 2014 07:16:15 +0000 (02:16 -0500)
perl is installed by pkgsrc to /usr/pkg/bin.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/70630043

test/run

index d206312a29c729c7a3f85b262f5fc3e2b2a9b8b8..729fc1eaaf36598664e5ea139db6d56fad3af37f 100755 (executable)
--- a/test/run
+++ b/test/run
@@ -33,7 +33,7 @@ unset GOROOT_FINAL  # breaks ./ imports
 
 failed=0
 
-PATH=${GOBIN:-$GOROOT/bin}:`pwd`:/bin:/usr/bin:/usr/local/bin
+PATH=${GOBIN:-$GOROOT/bin}:`pwd`:/bin:/usr/bin:/usr/local/bin:/usr/pkg/bin
 
 # TODO: We add the tool directory to the PATH to avoid thinking about a better way.
 PATH="$GOTOOLDIR:$PATH"