chiark / gitweb /
Fix issues with srclib checkupdates
authorDaniel Martí <mvdan@mvdan.cc>
Wed, 9 Oct 2013 21:36:02 +0000 (23:36 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Wed, 9 Oct 2013 21:37:53 +0000 (23:37 +0200)
fdroidserver/checkupdates.py

index 53a29c75b9819157833a1e3d40b3de9feb2b194f..3715cd48a38c1426a68bba0d5d251489a07930af 100644 (file)
@@ -85,7 +85,7 @@ def check_tags(app, sdk_path):
     try:
 
         if app['Repo Type'] == 'srclib':
-            build_dir = os.path.join('build', 'srclib')
+            build_dir = os.path.join('build', 'srclib', app['Repo'])
             repotype = common.getsrclibvcs(app['Repo'])
         else:
             build_dir = os.path.join('build/', app['id'])
@@ -97,9 +97,6 @@ def check_tags(app, sdk_path):
         # Set up vcs interface and make sure we have the latest code...
         vcs = common.getvcs(app['Repo Type'], app['Repo'], build_dir, sdk_path)
 
-        if app['Repo Type'] == 'srclib':
-            build_dir = os.path.join(build_dir, app['Repo'])
-
         vcs.gotorevision(None)
 
         flavour = None