From edc9390628e3f24b24f0771b635f883cbd79bcc7 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Fri, 3 Jun 2022 12:41:47 +0200 Subject: [PATCH] Pass --scan-binary to build server --- fdroidserver/build.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fdroidserver/build.py b/fdroidserver/build.py index a358d7d3..aac14e67 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -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