Skip to content

Commit 2d1c17b

Browse files
committed
fixup! ci(linux): move bindgen-cli installation into run.bash
1 parent f195ca4 commit 2d1c17b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ci/run.bash

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ rustc -vV
88
cargo -vV
99

1010
if [ -n "$INSTALL_BINDGEN" ]; then
11-
(curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh \
12-
&& mv "$HOME"/.cargo/bin/bindgen /usr/bin) \
13-
|| cargo install --force --locked bindgen-cli --root=/usr/bin
11+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh -s -- --no-modify-path \
12+
|| cargo install --force --locked bindgen-cli
1413
fi
1514

1615

0 commit comments

Comments
 (0)