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

Revert "Don't stop if srclib paths are hard-coded"

This reverts commit 33a95637c0.
This commit is contained in:
Ciaran Gultnieks 2013-10-09 10:11:34 +01:00
parent 87f6bf2392
commit 42497533a5

View File

@ -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:
print "Warning: srclib paths are hard-coded!"
raise VCSException("Error: srclib paths are hard-coded!")
return getsrclib(remote, 'build/srclib', sdk_path, raw=True)
raise VCSException("Invalid vcs type " + vcstype)