mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-22 23:14:21 +01:00
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:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user