mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-03 17:50:11 +02:00
parent
5a6422f4f3
commit
697a0641f1
@ -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…
Reference in New Issue
Block a user