juju/juju — pull request #186 by davecheney (2014-06-27 06:21:40+00:00)
Title: Fix os version

Fix Lp 1334493

Remove all the double underpants // +build tags, the os is inferred from the name of the file.

Remove osversion_unknown.go, Juju cannot operate without knowing the series of the machine, so cause a compilation failure, rather than produce tools that explode on use.

lucky(~/src/github.com/juju/juju/version) % GOOS=windows go list -f '{{.GoFiles}}'
[osversion.go osversion_windows.go supportedseries.go version.go]
lucky(~/src/github.com/juju/juju/version) % GOOS=linux go list -f '{{.GoFiles}}'
[osversion.go osversion_linux.go supportedseries.go version.go]
lucky(~/src/github.com/juju/juju/version) % GOOS=darwin go list -f '{{.GoFiles}}'
[osversion.go osversion_darwin.go supportedseries.go version.go]