diff --git a/tools/mkversion.sh b/tools/mkversion.sh index f950d9f19..a83c94e71 100755 --- a/tools/mkversion.sh +++ b/tools/mkversion.sh @@ -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 <