release: Use sudo to install hub

This doesn't make much difference for the automated process we have in
place, but makes a whole lot of difference for those trying to have the
binaries deployed locally.

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
This commit is contained in:
Fabiano Fidêncio 2021-04-06 15:33:49 +00:00
parent dc373d0161
commit c2197cbf2b

View File

@ -81,7 +81,7 @@ verify_hub() {
go get -d ${hub_repo} || true go get -d ${hub_repo} || true
pushd ${GOPATH}/src/${hub_repo} pushd ${GOPATH}/src/${hub_repo}
make make
make install prefix=/usr/local sudo -E make install prefix=/usr/local
popd popd
fi fi
} }