]> Kevux Git Server - rit/commit
git-gui: prefer shell at "/bin/sh" with Meson
authorPatrick Steinhardt <ps@pks.im>
Tue, 10 Feb 2026 12:45:33 +0000 (13:45 +0100)
committerPatrick Steinhardt <ps@pks.im>
Tue, 17 Feb 2026 05:58:11 +0000 (06:58 +0100)
commit8334d5e459de0386cf7b5b87cec136d62c14c3ad
tree795d9eba2935764a7fd232f9222ec777c24ccf0f
parent31d235c4c72666dec71a104d3bcd37cc7bd71ec5
git-gui: prefer shell at "/bin/sh" with Meson

Meson detects the path of the target shell via `find_program("sh")`,
which essentially does a lookup via `PATH`. We know that almost all
systems have "/bin/sh" available though, which makes it the superior
choice as a default value.

Adapt `find_program()` to prefer "/bin/sh" over any other "sh"
executable.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
meson.build