mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-04 02:00:11 +02:00
Don't pass root_dir to scan_source
This commit is contained in:
parent
fe2d65df73
commit
2626858450
@ -494,7 +494,7 @@ def build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, ext
|
|||||||
else:
|
else:
|
||||||
# Scan before building...
|
# Scan before building...
|
||||||
logging.info("Scanning source for common problems...")
|
logging.info("Scanning source for common problems...")
|
||||||
count = scanner.scan_source(build_dir, root_dir, build)
|
count = scanner.scan_source(build_dir, build)
|
||||||
if count > 0:
|
if count > 0:
|
||||||
if force:
|
if force:
|
||||||
logging.warn('Scanner found %d problems' % count)
|
logging.warn('Scanner found %d problems' % count)
|
||||||
|
Loading…
Reference in New Issue
Block a user