Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1dde1fad authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "[scripts] Print full clang prebuilt dir from get_clang_version.py"

parents 3eff6093 238ca381
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ def get_clang_prebuilts_version(global_go):
  with open(global_go) as infile:
    contents = infile.read()

  regex_rev = r'\tClangDefaultVersion\s+= "clang-(?P<rev>r\d+[a-z]?\d?)"'
  regex_rev = r'\tClangDefaultVersion\s+= "(?P<rev>clang-r\d+[a-z]?\d?)"'
  match_rev = re.search(regex_rev, contents)
  if match_rev is None:
    raise RuntimeError('Parsing clang info failed')