Skip to content
This repository was archived by the owner on Nov 4, 2020. It is now read-only.

Commit 51e0e56

Browse files
committed
Fix build exclusions
1 parent 29e80b0 commit 51e0e56

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

utils/create_xpi.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@
1111
with open(exclusionsFile) as f:
1212
for line in f:
1313
exclusions.extend(glob.glob(line.strip()))
14+
print(exclusions)
1415

1516
xpiFile = zipfile.ZipFile(xpiName, mode='w')
1617

1718
for root,subfolders,files in os.walk('.'):
1819
for fi in files:
1920
filename = os.path.join(root,fi)
20-
if filename not in exclusions:
21+
if filename not in map(lambda x: './'+x, exclusions):
22+
print(filename)
2123
info = zipfile.ZipInfo(filename, time.gmtime(1378343307))
2224
xpiFile.writestr(info, '')
2325

0 commit comments

Comments
 (0)