File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,10 @@ rustc -vV
8
8
cargo -vV
9
9
10
10
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 -s -- --no-modify-path \
12
- || true # Ignoring exit code since the script might fail to write the receipt after a successful installation.
13
- if [ ! -x " $CARGO_HOME " /bin/bindgen ]; then
11
+ if ! 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
+ || true | grep " everything's installed!" ;
13
+ # Ignoring exit code since the script might fail to write the receipt after a successful installation.
14
+ then
14
15
cargo install --force --locked bindgen-cli
15
16
fi
16
17
mkdir " $CARGO_HOME " /bin/bindgen-cli
You can’t perform that action at this time.
0 commit comments