From: Patrick Steinhardt Date: Tue, 10 Feb 2026 12:45:33 +0000 (+0100) Subject: git-gui: prefer shell at "/bin/sh" with Meson X-Git-Tag: v2.54.0-rc0~53^2~1^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8334d5e459de0386cf7b5b87cec136d62c14c3ad;p=thirdparty%2Fgit.git 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 --- diff --git a/meson.build b/meson.build 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')