ci/install-extra-builddeps: Drop --root=/usr arg

AFAICT, we just need `cxxbridge` to be in the `PATH` of the building
user. Let's avoid targeting privileged paths so devs can just run this
script directly without `sudo`.
This commit is contained in:
Jonathan Lebon 2020-12-23 12:23:37 -05:00 committed by OpenShift Merge Robot
parent 6579ab791b
commit 8461c053c1

View File

@ -3,5 +3,5 @@
set -xeuo pipefail
if ! command -v cxxbridge; then
ver=$(cargo metadata --format-version 1 | jq -r '.packages[]|select(.name == "cxx").version')
cargo install --root=/usr cxxbridge-cmd --version "${ver}"
cargo install cxxbridge-cmd --version "${ver}"
fi