mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-07 07:50:28 +03:00
Fix issues with srclib checkupdates
This commit is contained in:
parent
3d14caece8
commit
b184610913
1 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue