diff options
Diffstat (limited to 'scripts/gen-lockedsig-cache')
-rwxr-xr-x | scripts/gen-lockedsig-cache | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/gen-lockedsig-cache b/scripts/gen-lockedsig-cache index cd8f9a4356..023015ec41 100755 --- a/scripts/gen-lockedsig-cache +++ b/scripts/gen-lockedsig-cache | |||
@@ -1,5 +1,8 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | # | 2 | # |
3 | # | ||
4 | # Copyright OpenEmbedded Contributors | ||
5 | # | ||
3 | # SPDX-License-Identifier: GPL-2.0-only | 6 | # SPDX-License-Identifier: GPL-2.0-only |
4 | # | 7 | # |
5 | 8 | ||
@@ -94,8 +97,7 @@ print("Gathering file list took %.1fs" % elapsed) | |||
94 | print('Processing files') | 97 | print('Processing files') |
95 | for f in files: | 98 | for f in files: |
96 | sys.stdout.write('Processing %s... ' % f) | 99 | sys.stdout.write('Processing %s... ' % f) |
97 | _, ext = os.path.splitext(f) | 100 | if not f.endswith(('.tar.zst', '.siginfo', '.sig')): |
98 | if not ext in ['.tgz', '.siginfo', '.sig']: | ||
99 | # Most likely a temp file, skip it | 101 | # Most likely a temp file, skip it |
100 | print('skipping') | 102 | print('skipping') |
101 | continue | 103 | continue |