Mercurial > hg > graal-compiler
changeset 21068:53b2d64f8ad1
Distribution overlap is allowed for META-INF*, not just META-INF/services*
author | Gilles Duboscq <gilles.m.duboscq@oracle.com> |
---|---|
date | Tue, 21 Apr 2015 14:59:02 +0200 |
parents | 82539241ff38 |
children | 38216fb8941c |
files | mxtool/mx.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mxtool/mx.py Tue Apr 21 11:54:50 2015 +0200 +++ b/mxtool/mx.py Tue Apr 21 14:59:02 2015 +0200 @@ -2798,7 +2798,7 @@ archive(['@' + dist.name]) if args.check_distributions and not dist.isProcessorDistribution: with zipfile.ZipFile(dist.path, 'r') as zf: - files.extend([member for member in zf.namelist() if not member.startswith('META-INF/services')]) + files.extend([member for member in zf.namelist() if not member.startswith('META-INF')]) dups = set([x for x in files if files.count(x) > 1]) if len(dups) > 0: abort('Distributions overlap! duplicates: ' + str(dups))