mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 05:22:59 +00:00
build.sh: fix xargs warning
This commit is contained in:
parent
07eed388bd
commit
8e4afbc31c
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -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; };
|
||||||
|
|
Loading…
Reference in a new issue