mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Fix standalone scanner bug
This commit is contained in:
parent
4fb857bbb0
commit
dd427ef5f0
@ -59,7 +59,12 @@ def main():
|
|||||||
|
|
||||||
problems = []
|
problems = []
|
||||||
|
|
||||||
extlib_dir = os.path.join('build', 'extlib')
|
build_dir = 'build'
|
||||||
|
if not os.path.isdir(build_dir):
|
||||||
|
print "Creating build directory"
|
||||||
|
os.makedirs(build_dir)
|
||||||
|
srclib_dir = os.path.join(build_dir, 'srclib')
|
||||||
|
extlib_dir = os.path.join(build_dir, 'extlib')
|
||||||
|
|
||||||
for app in apps:
|
for app in apps:
|
||||||
|
|
||||||
@ -94,7 +99,8 @@ def main():
|
|||||||
|
|
||||||
# Prepare the source code...
|
# Prepare the source code...
|
||||||
root_dir, _ = common.prepare_source(vcs, app, thisbuild,
|
root_dir, _ = common.prepare_source(vcs, app, thisbuild,
|
||||||
build_dir, extlib_dir, sdk_path, ndk_path, javacc_path, mvn3, options.verbose)
|
build_dir, srclib_dir, extlib_dir, sdk_path, ndk_path,
|
||||||
|
javacc_path, mvn3, options.verbose, False)
|
||||||
|
|
||||||
# Do the scan...
|
# Do the scan...
|
||||||
buildprobs = common.scan_source(build_dir, root_dir, thisbuild)
|
buildprobs = common.scan_source(build_dir, root_dir, thisbuild)
|
||||||
|
Loading…
Reference in New Issue
Block a user