Skip to content

Commit 2a875b2

Browse files
committed
Fix build exclusions
1 parent 7238bc8 commit 2a875b2

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)