keep .apk file ext when diffoscope'ing Binaries:

This commit is contained in:
Hans-Christoph Steiner 2017-07-15 20:15:30 +00:00
parent 2ecaf6ef8d
commit 67d98c5a36
2 changed files with 3 additions and 2 deletions

View file

@ -19,6 +19,7 @@
import sys
import os
import re
import shutil
import glob
import hashlib
@ -128,7 +129,7 @@ def main():
# version if everything checks out.
# The binary should already have been retrieved during the build
# process.
srcapk = apkfile + ".binary"
srcapk = re.sub(r'.apk$', '.binary.apk', apkfile)
# Compare our unsigned one with the downloaded one...
compare_result = common.verify_apks(srcapk, apkfile, tmp_dir)