You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/08/07 07:26:30 UTC

svn commit: r801885 - /commons/sandbox/runtime/trunk/src/main/native/configure

Author: mturk
Date: Fri Aug  7 05:26:30 2009
New Revision: 801885

URL: http://svn.apache.org/viewvc?rev=801885&view=rev
Log:
fix sed rule typo

Modified:
    commons/sandbox/runtime/trunk/src/main/native/configure

Modified: commons/sandbox/runtime/trunk/src/main/native/configure
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/configure?rev=801885&r1=801884&r2=801885&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/configure (original)
+++ commons/sandbox/runtime/trunk/src/main/native/configure Fri Aug  7 05:26:30 2009
@@ -486,8 +486,8 @@
         echo _MSC_VER > $test.h
         v=`cl -nologo -EP $test.h 2>/dev/null | tail -1`
         rm $test.h
-        cc_ver_major=`echo $v | sed 's/[0-9]0-9]$//'`
-        cc_ver_minor=`echo $v | sed 's/^[0-9]0-9]//'`
+        cc_ver_major=`echo $v | sed 's/[0-9][0-9]$//'`
+        cc_ver_minor=`echo $v | sed 's/^[0-9][0-9]//'`
         if [ ".$has_maintainer_mode" != .yes ]; then
             if [ ${cc_ver_major}0 -gt 130 ]; then
                 # Visual Studio 2005 and later