chiark / gitweb /
Forgot to fix UCM:Tags for srclibs too
authorDaniel Martí <mvdan@mvdan.cc>
Wed, 9 Oct 2013 21:39:44 +0000 (23:39 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Wed, 9 Oct 2013 21:39:44 +0000 (23:39 +0200)
fdroidserver/checkupdates.py

index 3715cd48a38c1426a68bba0d5d251489a07930af..b43a772a76605a4ddb75b899e08540785fb15d61 100644 (file)
@@ -146,7 +146,7 @@ def check_repomanifest(app, sdk_path, branch=None):
     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'])
@@ -154,8 +154,6 @@ def check_repomanifest(app, sdk_path, branch=None):
 
         # 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'])
 
         if vcs.repotype() == 'git':
             if branch: