Merge lp://staging/~natefinch/juju-core/019-osx-fix into lp://staging/~go-bot/juju-core/trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Nate Finch | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 1955 | ||||
Proposed branch: | lp://staging/~natefinch/juju-core/019-osx-fix | ||||
Merge into: | lp://staging/~go-bot/juju-core/trunk | ||||
Diff against target: |
9 lines (+1/-0) 1 file modified
juju/osenv/vars_nix.go (+1/-0) |
||||
To merge this branch: | bzr merge lp://staging/~natefinch/juju-core/019-osx-fix | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+189640@code.staging.launchpad.net |
Commit message
Fix OSX build
we had no definition of the Home function under juju/osenv for OSX, because all we had was a _linux file and a _windows file. What we really needed was one implementation for Windows and one implementation for everything else. Now that's what we have. For the "everything else" we use the in-file build tag to specify that we don't build this file for Windows.
Description of the change
Fix OSX build
we had no definition of the Home function under juju/osenv for OSX, because all we had was a _linux file and a _windows file. What we really needed was one implementation for Windows and one implementation for everything else. Now that's what we have. For the "everything else" we use the in-file build tag to specify that we don't build this file for Windows.
Reviewers: mp+189640_ code.launchpad. net,
Message:
Please take a look.
Description:
Fix OSX build
we had no definition of the Home function under juju/osenv for OSX,
because all we had was a _linux file and a _windows file. What we
really needed was one implementation for Windows and one implementation
for everything else. Now that's what we have. For the "everything
else" we use the in-file build tag to specify that we don't build this
file for Windows.
https:/ /code.launchpad .net/~natefinch /juju-core/ 019-osx- fix/+merge/ 189640
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/14496043/
Affected files (+3, -0 lines): vars_notwin. go
A [revision details]
M juju/osenv/
Index: [revision details] 20131004160159- i9eoormyw24etfr 4
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: tarmac-
+New revision: <email address hidden>
Index: juju/osenv/ vars_notwin. go vars_linux. go' => 'juju/osenv/ vars_notwin. go' vars_linux. go 2013-08-28 20:37:53 +0000 vars_notwin. go 2013-10-07 15:31:14 +0000
=== renamed file 'juju/osenv/
--- juju/osenv/
+++ juju/osenv/
@@ -1,5 +1,6 @@
// Copyright 2013 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
+// +build !windows
package osenv