From 2ab889d74a036b82ab0e83bcd3ac0bee0f42a45a Mon Sep 17 00:00:00 2001 From: dimmus Date: Thu, 9 Nov 2023 20:24:29 +0500 Subject: [PATCH] meson: supress warning in run_command --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 59db8a1ec..479906447 100755 --- a/meson.build +++ b/meson.build @@ -42,8 +42,8 @@ dir_doc = join_paths(dir_prefix, get_option('infodir'), 'eflete') dir_locale = join_paths(get_option('prefix'), get_option('localedir')) if host_machine.system() == 'linux' - system = '@0@ (kernel: @1@)'.format( run_command('uname','-o').stdout().strip(), - run_command('uname','-r').stdout().strip()) + system = '@0@ (kernel: @1@)'.format(run_command('uname','-o', check: false).stdout().strip(), + run_command('uname','-r', check: false).stdout().strip()) else system = host_machine.system() endif