diff options
Diffstat (limited to 'scripts/install-buildtools')
-rwxr-xr-x | scripts/install-buildtools | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-buildtools b/scripts/install-buildtools index 1a458a2cc7..fbf6a4bc38 100755 --- a/scripts/install-buildtools +++ b/scripts/install-buildtools | |||
@@ -239,7 +239,7 @@ def main(): | |||
239 | if ret != 0: | 239 | if ret != 0: |
240 | logger.error("Could not download file from %s" % check_url) | 240 | logger.error("Could not download file from %s" % check_url) |
241 | return ret | 241 | return ret |
242 | regex = re.compile(r"^(?P<checksum>[0-9a-f]+)\s\s(?P<path>.*/)?(?P<filename>.*)$") | 242 | regex = re.compile(r"^(?P<checksum>[0-9a-f]+)\s+(?P<path>.*/)?(?P<filename>.*)$") |
243 | with open(tmpbuildtools_checksum, 'rb') as f: | 243 | with open(tmpbuildtools_checksum, 'rb') as f: |
244 | original = f.read() | 244 | original = f.read() |
245 | m = re.search(regex, original.decode("utf-8")) | 245 | m = re.search(regex, original.decode("utf-8")) |