1
0
mirror of https://github.com/golang/go synced 2024-11-22 04:54:42 -07:00

build: set $PATH during make.bash

Should fix build breakage.

TBR=golang-dev
CC=golang-dev
https://golang.org/cl/5656050
This commit is contained in:
Russ Cox 2012-02-13 22:46:50 -05:00
parent 7b848c6964
commit 982e6c44a0

View File

@ -62,7 +62,7 @@ export GOROOT="$(cd .. && pwd)"
GOROOT_FINAL="${GOROOT_FINAL:-$GOROOT}" GOROOT_FINAL="${GOROOT_FINAL:-$GOROOT}"
DEFGOROOT='-DGOROOT_FINAL="'"$GOROOT_FINAL"'"' DEFGOROOT='-DGOROOT_FINAL="'"$GOROOT_FINAL"'"'
gcc -O2 -Wall -Werror -ggdb -o cmd/dist/dist -Icmd/dist "$DEFGOROOT" cmd/dist/*.c 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 echo
if [ "$1" = "--dist-tool" ]; then if [ "$1" = "--dist-tool" ]; then