Skip to content

Commit

Permalink
build.sh: fix xargs warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrl committed Sep 3, 2021
1 parent 07eed38 commit 8e4afbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ task_sign() {
task_begin "Signing release";
pushd "${temp_dir}" || { echo "Error: Failed to cd to temporary directory"; exit 1; };
# Generate hashes
find . -type f -not -name "*.SHA256" -print0 | xargs -0 -n1 -I{} -P"$(nproc)" sha256sum -b "{}" >HASHES.SHA256;
find . -type f -not -name "*.SHA256" -print0 | xargs -0 -I{} -P"$(nproc)" sha256sum -b "{}" >HASHES.SHA256;
# Generate GPG signature
gpg --sign --detach-sign --armor HASHES.SHA256;
popd || { echo ""; exit 1; };
Expand Down

0 comments on commit 8e4afbc

Please sign in to comment.