summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/gen-lockedsig-cache2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen-lockedsig-cache b/scripts/gen-lockedsig-cache
index a4e9dede01..0986a21651 100755
--- a/scripts/gen-lockedsig-cache
+++ b/scripts/gen-lockedsig-cache
@@ -41,7 +41,7 @@ for f in files:
41 # Most likely a temp file, skip it 41 # Most likely a temp file, skip it
42 print('skipping') 42 print('skipping')
43 continue 43 continue
44 dst = f.replace(sys.argv[2], sys.argv[3]) 44 dst = os.path.join(sys.argv[3], os.path.relpath(f, sys.argv[2]))
45 destdir = os.path.dirname(dst) 45 destdir = os.path.dirname(dst)
46 mkdir(destdir) 46 mkdir(destdir)
47 47