mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
mkversion: Change grep by cut because of weird grep behavior on OSX
This commit is contained in:
parent
c7cb449eb6
commit
738963306e
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ sha=$(
|
||||||
cd "$pm3path" || return
|
cd "$pm3path" || return
|
||||||
# did we find the src?
|
# did we find the src?
|
||||||
[ -f armsrc/appmain.c ] || return
|
[ -f armsrc/appmain.c ] || return
|
||||||
ls armsrc/*.[ch] common_arm/*.[ch]|grep -E -v "(disabled|version_pm3|fpga_version_info)"|xargs sha256sum|sha256sum|grep -o '^.........'
|
ls armsrc/*.[ch] common_arm/*.[ch]|grep -E -v "(disabled|version_pm3|fpga_version_info)"|xargs sha256sum|sha256sum|cut -c -9
|
||||||
)
|
)
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue