mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-05 06:50:10 +01:00
Merge branch 'scan_binary_server' into 'master'
Pass --scan-binary to build server See merge request fdroid/fdroidserver!1141
This commit is contained in:
commit
dc971b39ee
@ -235,6 +235,8 @@ def build_server(app, build, vcs, build_dir, output_dir, log_dir, force):
|
||||
cmdline += ' --skip-scan'
|
||||
if options.notarball:
|
||||
cmdline += ' --no-tarball'
|
||||
if (options.scan_binary or config.get('scan_binary')) and not options.skipscan:
|
||||
cmdline += ' --scan-binary'
|
||||
cmdline += " %s:%s" % (app.id, build.versionCode)
|
||||
chan.exec_command('bash --login -c "' + cmdline + '"') # nosec B601 inputs are sanitized
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user