mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Fix verify unpacking
This commit is contained in:
parent
bd9a0716e9
commit
ee171ce6fd
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue