]> Cypherpunks repositories - gostls13.git/commit
cmd/go: Plan 9 compatible "env" output
authorLucio De Re <lucio.dere@gmail.com>
Mon, 24 Feb 2014 18:48:06 +0000 (19:48 +0100)
committerDavid du Colombier <0intro@gmail.com>
Mon, 24 Feb 2014 18:48:06 +0000 (19:48 +0100)
commitff15e5c00f7fe3fcec1277f932fbca381fd2d2ad
treeda61760f08398e51cf37859522c89f83c7fe90da
parentc687be423cd004a74c12acfb8816e3dcca919f70
cmd/go: Plan 9 compatible "env" output

Fixes the output of go env so that variables can be set
more accurately when using Plan 9's rc shell. Specifically,
GOPATH may have multiple components and the current
representation is plain wrong. In practice, we probably
ought to change os. Getenv to produce the right result, but
that requires considerably more thought.

LGTM=rsc
R=golang-codereviews, gobot, rsc
CC=golang-codereviews
https://golang.org/cl/66600043
src/cmd/go/env.go