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>
(cherry picked from commit c2197cbf2b)
This commit is contained in:
Fabiano Fidêncio 2021-04-06 15:33:49 +00:00
parent 179a98d678
commit 017c7cf249

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
} }