mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Sort filenames before hashing and force hashing in text mode to avoid inconsistencies
This commit is contained in:
parent
39b5a2a87d
commit
cdd17a06b7
2 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,7 @@ sha=$(
|
|||
cd "$pm3path" || return
|
||||
# did we find the src?
|
||||
[ -f armsrc/appmain.c ] || return
|
||||
ls armsrc/*.[ch] common_arm/*.[ch]|grep -E -v "(disabled|version_pm3|fpga_version_info)"|xargs sha256sum|sha256sum|cut -c -9
|
||||
ls armsrc/*.[ch] common_arm/*.[ch]|grep -E -v "(disabled|version_pm3|fpga_version_info)"|sort|xargs sha256sum -t|sha256sum|cut -c -9
|
||||
)
|
||||
if [ "$sha" = "" ]; then
|
||||
sha="no sha256"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue