mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 05:09:22 +00:00
Prune output of sha256sum to the hash alone
This causes the equality not to fail simply because the file names are different.
This commit is contained in:
2
.github/workflows/stack_size.yml
vendored
2
.github/workflows/stack_size.yml
vendored
@@ -49,7 +49,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
find . -iname "monerod-*" | while read -r bin; do
|
find . -iname "monerod-*" | while read -r bin; do
|
||||||
if [ ! $(sha256sum monerod-chelf) = $(sha256sum $bin) ]; then
|
if [ ! $(sha256sum monerod-chelf | cut -d' ' -f1) = $(sha256sum $bin | cut -d' ' -f1) ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user