mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
Pass --scan-binary to build server
This commit is contained in:
parent
0d1df0564f
commit
edc9390628
1 changed files with 2 additions and 0 deletions
|
@ -235,6 +235,8 @@ def build_server(app, build, vcs, build_dir, output_dir, log_dir, force):
|
||||||
cmdline += ' --skip-scan'
|
cmdline += ' --skip-scan'
|
||||||
if options.notarball:
|
if options.notarball:
|
||||||
cmdline += ' --no-tarball'
|
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)
|
cmdline += " %s:%s" % (app.id, build.versionCode)
|
||||||
chan.exec_command('bash --login -c "' + cmdline + '"') # nosec B601 inputs are sanitized
|
chan.exec_command('bash --login -c "' + cmdline + '"') # nosec B601 inputs are sanitized
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue