1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

Warn about nonexistent subdirs in RM

This commit is contained in:
Daniel Martí 2013-07-04 13:54:59 +02:00
parent a82076a5fe
commit c663b9b6e6

View File

@ -139,6 +139,9 @@ def check_repomanifest(app, sdk_path, branch=None):
if 'subdir' in app['builds'][-1]:
build_dir = os.path.join(build_dir, app['builds'][-1]['subdir'])
if !os.path.isdir(build_dir):
return (None, "Subdir '" + app['builds'][-1]['subdir'] + "'is not a valid directory")
version, vercode, package = common.parse_androidmanifest(build_dir)
if not package:
return (None, "Couldn't find package ID")