mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-26 18:12:34 +08: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
|
||||
# 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|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
|
||||
#include "common.h"
|
||||
|
|
Loading…
Reference in a new issue