Fix clang version pattern
'Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)' was parsed incorrectly.db4
parent
5f6ec2ba8b
commit
6809bbe29a
build-support
|
@ -113,7 +113,7 @@ set_md5sum() {
|
|||
}
|
||||
|
||||
semver_into() {
|
||||
CLANG_RE_OLD="^([0-9]*)\.([0-9]*)-(.*)?$" # 3.3-5
|
||||
CLANG_RE_OLD="^([0-9]*)\.([0-9]*)-?(.*)?$" # 3.3-5
|
||||
RE_SEMVER="^([0-9]*)\.([0-9]*)\.([0-9]*)-?(.*)?$" # 3.3.3-5
|
||||
if [[ $1 =~ $CLANG_RE_OLD ]] ; then
|
||||
export "$2=${BASH_REMATCH[1]}"
|
||||
|
|
Loading…
Reference in New Issue