Skip to content

Commit d0160bc

Browse files
committed
make.bash: show bootstrap version
For debugging. (The "go1.4" can be misleading since it might actually be go1.4.3 or go1.11 or go1.12 or master) Change-Id: I27520b931a2be018de577a299592d082260aa467 Reviewed-on: https://go-review.googlesource.com/c/go/+/204757 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
1 parent 617b416 commit d0160bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/make.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ IFS=$'\n'; for go_exe in $(type -ap go); do
162162
fi
163163
fi
164164
done; unset IFS
165-
echo "Building Go cmd/dist using $GOROOT_BOOTSTRAP."
165+
GOROOT_BOOTSTRAP_VERSION=$($GOROOT_BOOTSTRAP/bin/go version | sed 's/go version //')
166+
echo "Building Go cmd/dist using $GOROOT_BOOTSTRAP. ($GOROOT_BOOTSTRAP_VERSION)"
166167
if $verbose; then
167168
echo cmd/dist
168169
fi

0 commit comments

Comments
 (0)