chiark / gitweb /
Funambol output version checking got broken at some point - fixed
authorCiaran Gultnieks <ciaran@ciarang.com>
Mon, 20 Jun 2011 22:14:38 +0000 (23:14 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Mon, 20 Jun 2011 22:14:38 +0000 (23:14 +0100)
build.py

index 22a0aab5e663e37f6a3b90ba1dd5d07057d5a84a..5f9e2196a30e4e70869ee7fad70643f7248debde 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -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],