diff options
Diffstat (limited to 'build_tools/make_buildopts_h')
-rwxr-xr-x | build_tools/make_buildopts_h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_tools/make_buildopts_h b/build_tools/make_buildopts_h index 87271ec49..67c42c122 100755 --- a/build_tools/make_buildopts_h +++ b/build_tools/make_buildopts_h @@ -29,6 +29,6 @@ case ${OSARCH} in # actually we should check build_os ;; *) BUILDSUM=`echo ${TMP} | md5sum` - echo "#define AST_BUILDOPT_SUM {0x${BUILDSUM:0:8}, 0x${BUILDSUM:8:8}, 0x${BUILDSUM:16:8}, 0x${BUILDSUM:24:8}}" + echo "#define AST_BUILDOPT_SUM { `echo -n ${BUILDSUM} | cut -c1-8`, `echo -n ${BUILDSUM} | cut -c9-16`, `echo -n ${BUILDSUM} | cut -c17-24`, `echo -n ${BUILDSUM} | cut -c25-32` }" ;; esac |