@leroysheep / LeeRoySheep / commits / 8334d5e459

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>

Patrick Steinhardt committed Feb 10, 2026 at 13:45 UTC 8334d5e459de0386cf7b5b87cec136d62c14c3ad
1 file changed +1 -1
meson.build
+1 -1
index 4a60465753..a2156f01e3 100644 --- a/meson.build +++ b/meson.build @@ -4,7 +4,7 @@ project('git-gui', fs = import('fs') -shell = find_program('sh') +shell = find_program('/bin/sh', 'sh') tclsh = find_program('tclsh') wish = find_program('wish')