diff --git a/tools/idf_tools.py b/tools/idf_tools.py index 4f67ac9df3..2809fdc7aa 100755 --- a/tools/idf_tools.py +++ b/tools/idf_tools.py @@ -2372,7 +2372,7 @@ class ChecksumFileParser(): try: for bytes_str, hash_str in zip(self.checksum[0::2], self.checksum[1::2]): bytes_filename = self.parseLine(r'^# (\S*):', bytes_str) - hash_filename = self.parseLine(r'^\S* \*(\S*)', hash_str) + hash_filename = self.parseLine(r'^\S* [\* ](\S*)', hash_str) if hash_filename != bytes_filename: fatal('filename in hash-line and in bytes-line are not the same') raise SystemExit(1)