1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

Fix verify unpacking

This commit is contained in:
Ciaran Gultnieks 2013-08-29 14:16:02 +01:00
parent bd9a0716e9
commit ee171ce6fd

View File

@ -77,11 +77,11 @@ def main():
os.mkdir(d) os.mkdir(d)
if subprocess.call(['jar', 'xf', if subprocess.call(['jar', 'xf',
os.path.join(unsigned_dir, apkfilename)], os.path.join("..", unsigned_dir, apkfilename)],
cwd=thisdir) != 0: cwd=thisdir) != 0:
print "Failed to unpack local build of " + apkfilename print "Failed to unpack local build of " + apkfilename
sys.exit(1) sys.exit(1)
if subprocess.call(['jar', 'xf', remoteapk], if subprocess.call(['jar', 'xf', os.path.join("..", remoteapk)],
cwd=thisdir) != 0: cwd=thisdir) != 0:
print "Failed to unpack remote build of " + apkfilename print "Failed to unpack remote build of " + apkfilename
sys.exit(1) sys.exit(1)