Skip to content

Commit

Permalink
meson: supress warning in run_command
Browse files Browse the repository at this point in the history
  • Loading branch information
dimmus committed Nov 9, 2023
1 parent e9f07da commit 2ab889d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ab889d

Please sign in to comment.