mirror of https://gitee.com/openkylin/libvirt.git
meson: ensure python script is run in utf8 env
Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
2a917e6756
commit
09a221c085
|
@ -703,7 +703,7 @@ endforeach
|
|||
|
||||
foreach data : virt_daemon_confs
|
||||
capitalize_args = [ '-c', 'print("@0@".capitalize())'.format(data['name']) ]
|
||||
name_uc = run_command(python3_prog, capitalize_args, check: true).stdout().strip()
|
||||
name_uc = run_command(python3_prog, capitalize_args, check: true, env: runutf8).stdout().strip()
|
||||
daemon_conf = configuration_data()
|
||||
daemon_conf.set('runstatedir', runstatedir)
|
||||
daemon_conf.set('sbindir', sbindir)
|
||||
|
|
Loading…
Reference in New Issue