[svn-commits] russell: trunk r89359 - /trunk/build_tools/make_buildopts_h
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Sat Nov 17 00:07:57 CST 2007
Author: russell
Date: Sat Nov 17 00:07:57 2007
New Revision: 89359
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89359
Log:
Use the fix suggested by Tilghman on the -dev to make cutting up the BUILDSUM
friendly to non-bash shells. I think this should work for BSD/mingw as well,
but did not yet remove the switch statement.
Modified:
trunk/build_tools/make_buildopts_h
Modified: trunk/build_tools/make_buildopts_h
URL: http://svn.digium.com/view/asterisk/trunk/build_tools/make_buildopts_h?view=diff&rev=89359&r1=89358&r2=89359
==============================================================================
--- trunk/build_tools/make_buildopts_h (original)
+++ trunk/build_tools/make_buildopts_h Sat Nov 17 00:07:57 2007
@@ -29,6 +29,6 @@
;;
*)
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
More information about the svn-commits
mailing list