mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-07-29 18:30:28 +00:00
mkversion: indicate when no sha256 generated
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user