1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02:00

Funambol output version checking got broken at some point - fixed

This commit is contained in:
Ciaran Gultnieks 2011-06-20 23:14:38 +01:00
parent b882e2cceb
commit 9e582e9bfb

View File

@ -471,6 +471,7 @@ for app in apps:
# Special case (again!) for funambol...
src = ("funambol-android-sync-client-" +
thisbuild['version'] + "-unsigned.apk")
src = os.path.join(bindir, src)
elif thisbuild.has_key('maven'):
src = re.match(r".*^\[INFO\] Installing /.*/([^/]*)\.apk",
output, re.S|re.M).group(1)
@ -483,6 +484,7 @@ for app in apps:
# By way of a sanity check, make sure the version and version
# code in our new apk match what we expect...
print "Checking " + src
p = subprocess.Popen([os.path.join(sdk_path, 'platform-tools',
'aapt'),
'dump', 'badging', src],