Accepting request 422162 from home:jordimassaguerpla:branch:Vc:gcc_fails_with_GOPATH_empty

- Remove GOPATH at the end of the GOPATH assignment
  cause GOPATH is empty and if we do that, we get the path ""
  appended, which causes gcc6-go to complain

OBS-URL: https://build.opensuse.org/request/show/422162
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/containerd?expand=0&rev=28
This commit is contained in:
Christian Brauner 2016-08-25 16:01:25 +00:00 committed by Git OBS Bridge
parent a711fdc41f
commit 323c73a2a3
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Aug 25 15:54:38 UTC 2016 - jmassaguerpla@suse.com
- Remove GOPATH at the end of the GOPATH assignment
cause GOPATH is empty and if we do that, we get the path ""
appended, which causes gcc6-go to complain
-------------------------------------------------------------------
Wed Aug 24 12:25:46 UTC 2016 - jmassaguerpla@suse.com

View File

@ -110,7 +110,7 @@ Test package for containerd. It contains the source code and the tests.
# Do not use symlinks. If you want to run the unit tests for this package at
# some point during the build and you need to directly use go list directly it
# will get confused by symlinks.
export GOPATH=${HOME}/go:${HOME}/go/src/github.com/docker/containerd/vendor:${GOPATH}
export GOPATH=${HOME}/go:${HOME}/go/src/github.com/docker/containerd/vendor
mkdir -pv $HOME/go/src/github.com/docker/containerd
rm -rf $HOME/go/src/github.com/docker/containerd/*
cp -avr * $HOME/go/src/github.com/docker/containerd