summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/gen-lockedsig-cache5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/gen-lockedsig-cache b/scripts/gen-lockedsig-cache
index 6a7d285910..cd8f9a4356 100755
--- a/scripts/gen-lockedsig-cache
+++ b/scripts/gen-lockedsig-cache
@@ -80,13 +80,10 @@ for s in sigs:
prefix = s[:2]
prefix2 = s[2:4]
if prefix not in sstate_content_cache:
- sstate_content_cache[prefix] = build_sha_cache(prefix)
+ sstate_content_cache[prefix] = {}
if prefix2 not in sstate_content_cache[prefix]:
sstate_content_cache[prefix][prefix2] = build_sha_cache(prefix + "/" + prefix2)
- if s in sstate_content_cache[prefix]:
- for f in sstate_content_cache[prefix][s]:
- files.add(f)
if s in sstate_content_cache[prefix][prefix2]:
for f in sstate_content_cache[prefix][prefix2][s]:
files.add(f)