]> Cypherpunks repositories - gostls13.git/commitdiff
test: put GOROOT/bin before all others in run
authorLuuk van Dijk <lvd@golang.org>
Wed, 24 Aug 2011 14:12:20 +0000 (16:12 +0200)
committerLuuk van Dijk <lvd@golang.org>
Wed, 24 Aug 2011 14:12:20 +0000 (16:12 +0200)
If you installed a 6g in /usr/bin it interferes
with test/run otherwise.

R=rsc
CC=golang-dev
https://golang.org/cl/4944046

test/run

index bc31d2f714099d41df4635e8948d81afd8669a14..d6f57272c72e39fd4aeb9fc80b6617a8ee8ab4c7 100755 (executable)
--- a/test/run
+++ b/test/run
@@ -31,7 +31,7 @@ unset GREP_OPTIONS    # in case user has a non-standard set
 
 failed=0
 
-PATH=/bin:/usr/bin:/usr/local/bin:${GOBIN:-$GOROOT/bin}:`pwd`
+PATH=${GOBIN:-$GOROOT/bin}:`pwd`:/bin:/usr/bin:/usr/local/bin
 
 RUNFILE="/tmp/gorun-$$-$USER"
 TMP1FILE="/tmp/gotest1-$$-$USER"