mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
parent
5a6422f4f3
commit
697a0641f1
1 changed files with 1 additions and 1 deletions
|
|
@ -371,7 +371,7 @@ def build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, ext
|
|||
if build.sudo:
|
||||
logging.info("Running 'sudo' commands in %s" % os.getcwd())
|
||||
|
||||
p = FDroidPopen(['sudo', '--preserve-env=DEBIAN_FRONTEND',
|
||||
p = FDroidPopen(['sudo', 'DEBIAN_FRONTEND=noninteractive',
|
||||
'bash', '-x', '-c', build.sudo])
|
||||
if p.returncode != 0:
|
||||
raise BuildException("Error running sudo command for %s:%s" %
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue