File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ for target in $targets; do
1212
1313 # Check if the target is already installed
1414 if ! rustup target list | grep -q " $target (installed)" ; then
15- rustup target install $target
15+ rustup target install " $target "
1616 TARGET_INSTALLED=" $target "
1717 fi
1818
19- cargo build --target $target --features generate-bindings
20- find ../target/$target / -name pkcs11_bindings.rs | xargs -I ' {}' cp ' {}' src/bindings/$target .rs
19+ cargo build --target " $target " --features generate-bindings
20+ find ../target/" $target " / -print0 - name " pkcs11_bindings.rs" | xargs -I ' {}' cp ' {}' src/bindings/" $target " .rs
2121
2222 if [ " $TARGET_INSTALLED " == " $target " ]; then
23- rustup target remove $target
23+ rustup target remove " $target "
2424 fi
2525done
You can’t perform that action at this time.
0 commit comments