diff options
| -rwxr-xr-x | scripts/gen-lockedsig-cache | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/gen-lockedsig-cache b/scripts/gen-lockedsig-cache index c93b2c0b99..806c1e4caa 100755 --- a/scripts/gen-lockedsig-cache +++ b/scripts/gen-lockedsig-cache | |||
| @@ -34,6 +34,10 @@ for s in sigs: | |||
| 34 | files |= set(glob.glob(p)) | 34 | files |= set(glob.glob(p)) |
| 35 | 35 | ||
| 36 | for f in files: | 36 | for f in files: |
| 37 | _, ext = os.path.splitext(f) | ||
| 38 | if not ext in ['.tgz', '.siginfo', '.sig']: | ||
| 39 | # Most likely a temp file, skip it | ||
| 40 | continue | ||
| 37 | dst = f.replace(sys.argv[2], sys.argv[3]) | 41 | dst = f.replace(sys.argv[2], sys.argv[3]) |
| 38 | destdir = os.path.dirname(dst) | 42 | destdir = os.path.dirname(dst) |
| 39 | mkdir(destdir) | 43 | mkdir(destdir) |
