]> git.ipfire.org Git - thirdparty/git.git/commit
meson: prevent finding sed(1) in a loop
authorPatrick Steinhardt <ps@pks.im>
Wed, 26 Feb 2025 08:22:20 +0000 (09:22 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Feb 2025 17:09:36 +0000 (09:09 -0800)
commit16c89dcf80b742276d927b99fe28dbcde1469417
tree2d21b0adc3f03e614dc816ebcf7944a6c619e4ff
parent42846efc3ba31cc0384ca57a70b27fc37313c6ad
meson: prevent finding sed(1) in a loop

We're searching for the sed(1) executable in a loop, which will make us
try to find it multiple times. Starting with the preceding commit we
already declare a variable for that program in the top-level build file.
Use it so that we only need to search for the program once.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/howto/meson.build
meson.build