allow dashes and underscores in signature file names when checking for reproducability

This commit is contained in:
Michael Pöhn 2018-02-22 23:29:30 +01:00
parent 2f563f533b
commit 8cca83aec4

View file

@ -2278,7 +2278,7 @@ def place_srclib(root_dir, number, libpath):
o.write('android.library.reference.%d=%s\n' % (number, relpath)) o.write('android.library.reference.%d=%s\n' % (number, relpath))
apk_sigfile = re.compile(r'META-INF/[0-9A-Za-z]+\.(SF|RSA|DSA|EC)') apk_sigfile = re.compile(r'META-INF/[0-9A-Za-z_\-]+\.(SF|RSA|DSA|EC)')
def signer_fingerprint_short(sig): def signer_fingerprint_short(sig):