~kennylevinsen/seatd-devel

seatd: build: don't explicitly search for sh v1 APPLIED

Simon Ser: 1
 build: don't explicitly search for sh

 1 files changed, 1 insertions(+), 2 deletions(-)
#479744 running archlinux.yml
build pending: smoketest-seatd.sh
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~kennylevinsen/seatd-devel/patches/21866/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH seatd] build: don't explicitly search for sh Export this patch

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 aaa7d6963009..39fceb4b150a 100644
--- a/meson.build
+++ b/meson.build
@@ -213,7 +213,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')

@@ -227,7 +226,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)
-- 
2.31.1
Applied, thanks!