From ee409138109c5f53310f0d81d2b591157b39d622 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 7 Apr 2021 13:36:41 +0200 Subject: build: don't explicitly search for sh This removes the "Program sh found" line in the build logs, and should not change anything else. --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 8f7efb2..60c96f0 100644 --- a/meson.build +++ b/meson.build @@ -214,7 +214,6 @@ else endif if scdoc.found() - sh = find_program('sh', native: true) scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true) mandir = get_option('mandir') @@ -228,7 +227,7 @@ if scdoc.found() input: 'man/' + src, output: output, command: [ - sh, '-c', '@0@ < @INPUT@ > @1@'.format(scdoc_prog.path(), output) + 'sh', '-c', '@0@ < @INPUT@ > @1@'.format(scdoc_prog.path(), output) ], install: true, install_dir: '@0@/man@1@'.format(mandir, section) -- cgit v1.2.3