mirror of
https://github.com/git/git.git
synced 2026-08-09 01:21:47 +00:00
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>
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user