Use the final .version number for LLVM_MINOR_VERSION in Apple llvmCore builds.

We've switched to a 3-component version numbering scheme for Apple releases,
and with this scheme, the final number is the one most relevant for setting
LLVM_MINOR_VERSION.  <rdar://problem/12071459>

llvm-svn: 161645
This commit is contained in:
Bob Wilson 2012-08-10 00:25:30 +00:00
parent d9b66506a3
commit f9fb079e7d
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ if [ \! -f Makefile.config ]; then
|| exit 1
fi
SUBVERSION=`echo $RC_ProjectSourceVersion | sed -e 's/[^.]*\.\([0-9]*\).*/\1/'`
SUBVERSION=`echo $RC_ProjectSourceVersion | sed -e 's/.*\.\([0-9]*\).*/\1/'`
if [ "x$SUBVERSION" != "x$RC_ProjectSourceVersion" ]; then
LLVM_SUBMIT_SUBVERSION=`printf "%02d" $SUBVERSION`