[asterisk-commits] tzafrir: branch 1.8 r316193 - in /branches/1.8: ./ autoconf/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 3 05:57:27 CDT 2011


Author: tzafrir
Date: Tue May  3 05:57:16 2011
New Revision: 316193

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=316193
Log:
Re-fix bashism in ./configure: s/let/$(( ))/

A forward-port in r278985 accidentally re-introduced issue 17485. Fixing
it. Thanks to Jilles Tjoelker for the good report.

(closes issue #17485)


Modified:
    branches/1.8/autoconf/ast_check_pwlib.m4
    branches/1.8/configure

Modified: branches/1.8/autoconf/ast_check_pwlib.m4
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/autoconf/ast_check_pwlib.m4?view=diff&rev=316193&r1=316192&r2=316193
==============================================================================
--- branches/1.8/autoconf/ast_check_pwlib.m4 (original)
+++ branches/1.8/autoconf/ast_check_pwlib.m4 Tue May  3 05:57:16 2011
@@ -205,9 +205,9 @@
 		$2_VER=$((${$2_MAJOR_VERSION}*10000+${$2_MINOR_VERSION}*100+${$2_BUILD_NUMBER}))
 		$2_REQ=$(($4*10000+$5*100+$6))
 		if test "x$10" = "x"; then
-			let $2_MAX=9999999
+			$2_MAX=9999999
 		else
-			let $2_MAX=$8*10000+$9*100+$10
+			$2_MAX=$(($8*10000+$9*100+$10))
 		fi
 
 		AC_MSG_CHECKING(if $1 version ${$2_VERSION} is compatible with chan_h323)




More information about the asterisk-commits mailing list