1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-22 16:33:00 +00:00

build.sh: fix xargs warning

This commit is contained in:
Starbeamrainbowlabs 2021-09-03 02:07:47 +01:00
parent 07eed388bd
commit 8e4afbc31c
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -311,7 +311,7 @@ task_sign() {
task_begin "Signing release"; task_begin "Signing release";
pushd "${temp_dir}" || { echo "Error: Failed to cd to temporary directory"; exit 1; }; pushd "${temp_dir}" || { echo "Error: Failed to cd to temporary directory"; exit 1; };
# Generate hashes # 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 # Generate GPG signature
gpg --sign --detach-sign --armor HASHES.SHA256; gpg --sign --detach-sign --armor HASHES.SHA256;
popd || { echo ""; exit 1; }; popd || { echo ""; exit 1; };