SIGN IN SIGN UP
containers / podman UNCLAIMED

Podman: A tool for managing OCI containers and pods.

0 0 123 Go

hack/golangci-lint.sh: fix binary lookup order

The install script only reuses the binary from $PATH if the version
matches otherwise installs into ./bin, if the version of $PATH matches
then the binary from ./bin is removed there.

That means the actual run must prefer ./bin as this has a known good
version when it exists unlike $PATH which can be the wrong version.

This fixes the logic added in commit cf021c4ba9.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
P
Paul Holzinger committed
2e7178f42878f4e3a0f1ed5ecbeac7f4d0e2cebb
Parent: 13c6b5d