aboutsummaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2012-02-13 22:46:50 -0500
committerRuss Cox <rsc@golang.org>2012-02-13 22:46:50 -0500
commit982e6c44a0c4f7436b6242b6c1cce37fcb880c3a (patch)
treeeae5bda89977e1d940dc9e61f195982e5d0a5d57 /src/make.bash
parent7b848c69647c52d69127ccef79cc7d01c0ec02c6 (diff)
downloadgo-982e6c44a0c4f7436b6242b6c1cce37fcb880c3a.tar.xz
build: set $PATH during make.bash
Should fix build breakage. TBR=golang-dev CC=golang-dev https://golang.org/cl/5656050
Diffstat (limited to 'src/make.bash')
-rwxr-xr-xsrc/make.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/make.bash b/src/make.bash
index e30743b683..5677b7012b 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -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