]> Cypherpunks repositories - gostls13.git/commitdiff
build: set $PATH during make.bash
authorRuss Cox <rsc@golang.org>
Tue, 14 Feb 2012 03:46:50 +0000 (22:46 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 14 Feb 2012 03:46:50 +0000 (22:46 -0500)
Should fix build breakage.

TBR=golang-dev
CC=golang-dev
https://golang.org/cl/5656050

src/make.bash

index e30743b6831adba404571fd5a24072f71324c78d..5677b7012bfe8b59db0d0715f7527ea71c4dc54b 100755 (executable)
@@ -62,7 +62,7 @@ export GOROOT="$(cd .. && pwd)"
 GOROOT_FINAL="${GOROOT_FINAL:-$GOROOT}"
 DEFGOROOT='-DGOROOT_FINAL="'"$GOROOT_FINAL"'"'
 gcc -O2 -Wall -Werror -ggdb -o cmd/dist/dist -Icmd/dist "$DEFGOROOT" cmd/dist/*.c
-eval $(./cmd/dist/dist env)
+eval $(./cmd/dist/dist env -p)
 echo
 
 if [ "$1" = "--dist-tool" ]; then