mkversion: Change grep by cut because of weird grep behavior on OSX
This commit is contained in:
1 parent
c7cb449eb6
commit
738963306e
1 file changed
+1
-1
+1
-1
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user