mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Don't stop if srclib paths are hard-coded
If the raise takes place, UCMs with srclibs don't work.
This commit is contained in:
parent
12261e72b9
commit
33a95637c0
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ def getvcs(vcstype, remote, local, sdk_path):
|
||||||
return vcs_bzr(remote, local, sdk_path)
|
return vcs_bzr(remote, local, sdk_path)
|
||||||
if vcstype == 'srclib':
|
if vcstype == 'srclib':
|
||||||
if local != 'build/srclib/' + remote:
|
if local != 'build/srclib/' + remote:
|
||||||
raise VCSException("Error: srclib paths are hard-coded!")
|
print "Warning: srclib paths are hard-coded!"
|
||||||
return getsrclib(remote, 'build/srclib', sdk_path, raw=True)
|
return getsrclib(remote, 'build/srclib', sdk_path, raw=True)
|
||||||
raise VCSException("Invalid vcs type " + vcstype)
|
raise VCSException("Invalid vcs type " + vcstype)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue