Skip to content

Commit

Permalink
Fix regenerate_bindings.sh
Browse files Browse the repository at this point in the history
The print argument causes the script to fail by passing
unnecessary string to the pipe.

Signed-off-by: Gowtham Suresh Kumar <[email protected]>
  • Loading branch information
gowthamsk-arm committed Mar 13, 2023
1 parent adc05a9 commit 9d2a795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cryptoki-sys/regenerate_bindings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ for target in $targets; do
fi

cargo build --target "$target" --features generate-bindings
find ../target/"$target"/ -print0 -name "pkcs11_bindings.rs" | xargs -I '{}' cp '{}' src/bindings/"$target".rs
find ../target/"$target"/ -name "pkcs11_bindings.rs" | xargs -I '{}' cp '{}' src/bindings/"$target".rs

if [ "$TARGET_INSTALLED" == "$target" ]; then
rustup target remove "$target"
Expand Down

0 comments on commit 9d2a795

Please sign in to comment.