mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 23:23:27 +02:00
Warn about nonexistent subdirs in RM
This commit is contained in:
parent
a82076a5fe
commit
c663b9b6e6
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user