From c02693450195ec5b2f8e0ae5c580a148a9a424c9 Mon Sep 17 00:00:00 2001 From: waltari Date: Tue, 24 Feb 2015 17:02:39 +0900 Subject: [PATCH 1/2] Remove Go 1.3 support --- .travis.yml | 1 - README.md | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0fac609..f6e163f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ language: go go: - 1.4.1 - - 1.3.3 # let us have pretty experimental Docker-based Travis workers sudo: false diff --git a/README.md b/README.md index 652e3a7..cec6a98 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ and `make` installed. ### Install from source -You need to have the [Go compiler (v1.3 or higher)](http://golang.org) installed, and `$GOPATH` +You need to have the [Go compiler (v1.4 or higher)](http://golang.org) installed, and `$GOPATH` [properly setup](http://golang.org/doc/code.html#GOPATH). Then run go get github.com/boot2docker/boot2docker-cli @@ -77,7 +77,7 @@ You can cross compile to OS X, Windows, and Linux. For that you need to first [make your Go compiler ready for cross compiling to the target platforms](http://stackoverflow.com/questions/12168873/cross-compile-go-on-osx). -Please make sure you build with golang v1.3 or later - it is required for +Please make sure you build with golang v1.4 or later - it is required for `boot2docker download` to work on OS X. We provide a Makefile to make the process a bit easier. From 0be3cf75579e571d44febc0b3c18537ff3eff890 Mon Sep 17 00:00:00 2001 From: waltari Date: Wed, 24 Dec 2014 14:14:45 +0900 Subject: [PATCH 2/2] Improve removing the library path --- virtualbox/vbm.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virtualbox/vbm.go b/virtualbox/vbm.go index bbb5630..ed166dd 100644 --- a/virtualbox/vbm.go +++ b/virtualbox/vbm.go @@ -18,8 +18,8 @@ import ( func init() { if runtime.GOOS == "darwin" { // remove DYLD_LIBRARY_PATH and LD_LIBRARY_PATH as they break VBoxManage on OSX - os.Setenv("DYLD_LIBRARY_PATH", "") - os.Setenv("LD_LIBRARY_PATH", "") + os.Unsetenv("DYLD_LIBRARY_PATH") + os.Unsetenv("LD_LIBRARY_PATH") } }