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:
parent
bd9a0716e9
commit
ee171ce6fd
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user