Re: [PATCH] meson: correct git detection

2024-07-24 Thread Michal Prívozník
On 7/24/24 10:56, John Levon wrote: > The current "building from git" test uses "test -d .git"; however, that > doesn't work when libvirt is used as a submodule, as in that case .git > is a normal file. Use "test -e .git" instead. > > Signed-off-by: John Levon > --- > meson.build | 2 +- > 1 fil

[PATCH] meson: correct git detection

2024-07-24 Thread John Levon
The current "building from git" test uses "test -d .git"; however, that doesn't work when libvirt is used as a submodule, as in that case .git is a normal file. Use "test -e .git" instead. Signed-off-by: John Levon --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git