Mark Ryan 96c49775c0 utils: Use go env to discover the GOPATH
Since Go 1.8 users no longer need to have GOPATH set in their environment
for the Go tool chain to work.  If GOPATH is set, Go will use it.  Otherwise
it defaults to ~/go on linux.  As most users store their code in ~/go, they
don't bother setting GOPATH any more.  virtcontainers-setup.sh, in its
current form, fails for those users, as it requires GOPATH to be set.
This commit fixes the issue by calling go env "GOPATH" to determine the
correct location of the user's go code.  go env "GOPATH" will always
return the correct location, whether GOPATH is set, or not.

Fixes: #63

Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
2018-03-16 09:39:58 +00:00
2018-03-15 12:10:52 -06:00
2018-03-08 08:19:53 -06:00
2018-03-15 12:10:52 -06:00
2018-01-30 10:00:05 +08:00
2018-01-30 10:00:05 +08:00
2018-01-30 10:00:05 +08:00
2018-03-15 12:10:52 -06:00
2017-11-21 17:03:45 +08:00
2018-02-09 14:45:14 +00:00

Build Status

Runtime

This project contains the runtime for the Kata Containers project.

Languages
Rust 58.4%
Go 24.4%
Shell 10%
RPC 5.3%
Makefile 1%
Other 0.8%