mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
armsrc check: skip if no src available; postpone warning
This commit is contained in:
parent
bbf49ab560
commit
14f62eaa88
3 changed files with 15 additions and 7 deletions
|
@ -59,9 +59,11 @@ if [ "$fullgitinfoextra" != "$fullgitinfo" ]; then
|
|||
fullgitinfo="${fullgitinfo46}..."
|
||||
fi
|
||||
sha=$(
|
||||
pm3path=$(dirname -- "$0")/..
|
||||
cd "$pm3path" || return
|
||||
ls armsrc/*.[ch] common_arm/*.[ch]|grep -v disabled|grep -v version_pm3|xargs sha256sum|sha256sum|grep -o '^.........'
|
||||
pm3path=$(dirname -- "$0")/..
|
||||
cd "$pm3path" || return
|
||||
# did we find the src?
|
||||
[ -f armsrc/appmain.c ] || return
|
||||
ls armsrc/*.[ch] common_arm/*.[ch]|grep -v disabled|grep -v version_pm3|xargs sha256sum|sha256sum|grep -o '^.........'
|
||||
)
|
||||
cat <<EOF
|
||||
#include "common.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue