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 5538ff7047..7118f48be9 100755 --- a/scripts/install-buildtools +++ b/scripts/install-buildtools | |||
@@ -241,7 +241,7 @@ def main(): | |||
241 | if ret != 0: | 241 | if ret != 0: |
242 | logger.error("Could not download file from %s" % check_url) | 242 | logger.error("Could not download file from %s" % check_url) |
243 | return ret | 243 | return ret |
244 | regex = re.compile(r"^(?P<checksum>[0-9a-f]+)\s\s(?P<path>.*/)?(?P<filename>.*)$") | 244 | regex = re.compile(r"^(?P<checksum>[0-9a-f]+)\s+(?P<path>.*/)?(?P<filename>.*)$") |
245 | with open(tmpbuildtools_checksum, 'rb') as f: | 245 | with open(tmpbuildtools_checksum, 'rb') as f: |
246 | original = f.read() | 246 | original = f.read() |
247 | m = re.search(regex, original.decode("utf-8")) | 247 | m = re.search(regex, original.decode("utf-8")) |