mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
fix(idf_tools): fix delimiter when the updater parsing, ' *' or ' '
This commit is contained in:
parent
49773c662a
commit
2456dc6a8e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user