chiark / gitweb /
tweak pulltorefresh srclib
authorDavid Black <david8black@gmail.com>
Mon, 15 Oct 2012 21:22:26 +0000 (22:22 +0100)
committerDavid Black <david8black@gmail.com>
Mon, 15 Oct 2012 21:22:26 +0000 (22:22 +0100)
fdroidserver/common.py

index 9344aa5f393537ded6f5b72d15697bbe65d76498..139aacb812a99cb2e40a4645bce67c2f6e91fc92 100644 (file)
@@ -1140,14 +1140,7 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
         vcs = getvcs('git',
            'https://github.com/chrisbanes/Android-PullToRefresh.git', sdir, sdk_path)
         vcs.gotorevision(ref)
-        libdir = os.path.join(sdir, 'library')
-        if subprocess.call([os.path.join(sdk_path, 'tools', 'android'),
-            'update', 'project', '-p',
-            libdir]) != 0:
-            raise BuildException('Error updating PullToRefresh project')
-        if basepath:
-            return sdir
-        return libdir
+        return sdir
 
     if name == 'TessTwo':
         sdir = os.path.join(extlib_dir, 'TessTwo')