From f9fb079e7dad1f5725ea42e8865f5c12c48223c2 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Fri, 10 Aug 2012 00:25:30 +0000 Subject: [PATCH] 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. llvm-svn: 161645 --- llvm/utils/buildit/build_llvm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/buildit/build_llvm b/llvm/utils/buildit/build_llvm index 994fb0696ee9..6aee8310463d 100755 --- a/llvm/utils/buildit/build_llvm +++ b/llvm/utils/buildit/build_llvm @@ -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` -- GitLab