mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-26 10:01:07 +08:00
mkversion: indicate when no sha256 generated
This commit is contained in:
parent
738963306e
commit
4c8b4af337
1 changed files with 3 additions and 0 deletions
|
@ -65,6 +65,9 @@ sha=$(
|
|||
[ -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
|
||||
)
|
||||
if [ "$sha" = "" ]; then
|
||||
sha="no sha256"
|
||||
fi
|
||||
cat <<EOF
|
||||
#include "common.h"
|
||||
/* Generated file, do not edit */
|
||||
|
|
Loading…
Reference in a new issue