Fix LLVM_REVISION parse regex (#4275)

Fix parse regex as per format change in
e6863f8783%5E%21/#F1
This commit is contained in:
Abhishek Arya 2020-08-06 20:12:58 -07:00 committed by GitHub
parent 0dc597e53e
commit 751aa78373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ OUR_LLVM_REVISION=e84b7a5fe230e42b8e6fe451369874a773bf1867
# To allow for manual downgrades. Set to 0 to use Chrome's clang version (i.e.
# *not* force a manual downgrade). Set to 1 to force a manual downgrade.
FORCE_OUR_REVISION=0
LLVM_REVISION=$(grep -Po "CLANG_REVISION = '\K[a-f0-9]+(?=')" scripts/update.py)
LLVM_REVISION=$(grep -Po "CLANG_REVISION = '\K([^']+)" scripts/update.py)
clone_with_retries https://github.com/llvm/llvm-project.git $LLVM_SRC