1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 17:00:12 +01:00

Fix issues with srclib checkupdates

This commit is contained in:
Daniel Martí 2013-10-09 23:36:02 +02:00
parent 3d14caece8
commit b184610913

View File

@ -85,7 +85,7 @@ def check_tags(app, sdk_path):
try: try:
if app['Repo Type'] == 'srclib': 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']) repotype = common.getsrclibvcs(app['Repo'])
else: else:
build_dir = os.path.join('build/', app['id']) 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... # Set up vcs interface and make sure we have the latest code...
vcs = common.getvcs(app['Repo Type'], app['Repo'], build_dir, sdk_path) 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) vcs.gotorevision(None)
flavour = None flavour = None