diff options
author | Kir Kolyshkin <kolyshkin@gmail.com> | 2022-04-13 17:13:45 -0700 |
---|---|---|
committer | Kir Kolyshkin <kolyshkin@gmail.com> | 2022-05-17 13:41:07 -0700 |
commit | 11d3cf26977538b1ee20ea331e0f14e995d7f550 (patch) | |
tree | b70bf8eafc99e40e24d852de033c9d892b3f6279 /commands-demo.md | |
parent | c63bb6b9a8a9d18d661f10c1a2a6884258180fae (diff) | |
download | podman-11d3cf26977538b1ee20ea331e0f14e995d7f550.tar.gz podman-11d3cf26977538b1ee20ea331e0f14e995d7f550.tar.bz2 podman-11d3cf26977538b1ee20ea331e0f14e995d7f550.zip |
Makefile, podman.spec.rpkg: rm GOBIN and GOPATH
Remove GOPATH setting as since Go 1.9 it defaults to $HOME/go (for
earlier versions it had to be specified explicitly).
Remove GOPATH-related code from the spec, using relative paths when
compiling packages, and enable Go modules, simplifying the spec.
Remove support for multiple paths in GOPATH (which is rarely used and
doesn't really work with modules).
Remove setting GOBIN, rely on $GOPATH/bin instead. In case GOBIN is
explicitly set (which is highly unlikely), forcefully ignore by
unsetting it.
Remove GOBIN from tools invocation since we added GOPATH/bin to PATH.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Diffstat (limited to 'commands-demo.md')
0 files changed, 0 insertions, 0 deletions