aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-20 22:28:35 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-20 22:28:35 +0000
commitd3cbf267996c810c62534f9e1fec76f4221e872a (patch)
treeb42341ea85a9a688a4a9d5e17546bb7b80207fa8 /build_tools
parent6ac2823852d1c541a93bc59f81ea46e620917793 (diff)
closes issue #11287; thanks to snuffy for this fix, which will surely make all solaris owners shout praises to his name.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94319 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/make_buildopts_h3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_tools/make_buildopts_h b/build_tools/make_buildopts_h
index b98d875a0..ace404555 100755
--- a/build_tools/make_buildopts_h
+++ b/build_tools/make_buildopts_h
@@ -26,6 +26,9 @@ case ${OSARCH} in # actually we should check build_os
*BSD|mingw|darwin*)
BUILDSUM=`echo ${TMP} | md5 | cut -c1-32`
;;
+SunOS)
+ BUILDSUM=`echo ${TMP} | digest -a md5 | cut -c1-32`
+ ;;
*)
BUILDSUM=`echo ${TMP} | md5sum | cut -c1-32`
;;