Christian 'Ansuel' Marangi ab1f3a8706 prereq-build: add additional git detection
With some OS (Guix) the git submodule command is wrapped in
a script. Current logic parse the git submodule script directly.
If it's wrapped the prereq check wrongly fails while 'git submodule
--recursive' is actually available.
Add an additional check that try to directly use the 'git submodule'
command to check if the prereq is satisfied.

Fixes: #9986
Reported-by: Attila Lendvai <attila@lendvai.name>
Suggested-by: Attila Lendvai <attila@lendvai.name>
Signed-off-by: Christian 'Ansuel' Marangi <ansuelsmth@gmail.com>
2022-06-09 15:30:33 +02:00
..
2022-03-28 00:15:52 +01:00
2022-01-17 09:14:26 +01:00
2022-01-17 09:14:26 +01:00
2021-02-05 14:54:47 +01:00
2021-05-13 15:13:15 +02:00
2021-02-05 14:54:47 +01:00
2022-06-06 19:20:02 +02:00
2022-06-06 19:20:28 +02:00
2022-05-18 13:32:06 +03:00
2022-05-18 13:32:06 +03:00
2022-04-09 15:56:04 +02:00
2021-11-20 21:08:25 +01:00
2022-01-17 09:14:26 +01:00
2021-10-24 18:20:50 +02:00
2021-02-28 00:09:09 +00:00
2021-02-05 14:54:47 +01:00