Index: tools/clang/scripts/update.py |
diff --git a/tools/clang/scripts/update.py b/tools/clang/scripts/update.py |
index c23152185c9c38abf0fe9d8c27fe02e11ae7f03b..dc7a439b2980359e2a8f26a5d65dd5b5448b0f8a 100755 |
--- a/tools/clang/scripts/update.py |
+++ b/tools/clang/scripts/update.py |
@@ -880,6 +880,11 @@ def main(): |
print 'Skipping Clang update (make_clang_dir= was set in GYP_DEFINES).' |
return 0 |
+ if use_head_revision: |
+ # TODO(hans): Trunk was updated; remove after the next roll. |
+ global VERSION |
+ VERSION = '5.0.0' |
+ |
global CLANG_REVISION, PACKAGE_VERSION |
if args.print_revision: |
if use_head_revision or args.llvm_force_head_revision: |