mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +01: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
@ -37,7 +37,7 @@ def getvcs(vcstype, remote, local, sdk_path):
|
||||
return vcs_bzr(remote, local, sdk_path)
|
||||
if vcstype == 'srclib':
|
||||
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)
|
||||
raise VCSException("Invalid vcs type " + vcstype)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user