1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-02 09:10:11 +02:00

Pass --scan-binary to build server

This commit is contained in:
Jochen Sprickerhof 2022-06-03 12:41:47 +02:00 committed by Hans-Christoph Steiner
parent 0d1df0564f
commit edc9390628

View File

@ -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