From: Daniel Martí Date: Wed, 9 Oct 2013 21:36:02 +0000 (+0200) Subject: Fix issues with srclib checkupdates X-Git-Tag: 0.1~371 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b1846109136bd38af59a56d9a0a675327042df89;p=fdroidserver.git Fix issues with srclib checkupdates --- diff --git a/fdroidserver/checkupdates.py b/fdroidserver/checkupdates.py index 53a29c75..3715cd48 100644 --- a/fdroidserver/checkupdates.py +++ b/fdroidserver/checkupdates.py @@ -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