aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/howto/meson.build
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-02-26 09:22:20 +0100
committerJunio C Hamano <gitster@pobox.com>2025-02-26 09:09:36 -0800
commit16c89dcf80b742276d927b99fe28dbcde1469417 (patch)
tree2d21b0adc3f03e614dc816ebcf7944a6c619e4ff /Documentation/howto/meson.build
parent42846efc3ba31cc0384ca57a70b27fc37313c6ad (diff)
downloadgit-16c89dcf80b742276d927b99fe28dbcde1469417.tar.gz
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>
Diffstat (limited to 'Documentation/howto/meson.build')
-rw-r--r--Documentation/howto/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/howto/meson.build b/Documentation/howto/meson.build
index c023c10416..92a08b13ee 100644
--- a/Documentation/howto/meson.build
+++ b/Documentation/howto/meson.build
@@ -41,7 +41,7 @@ custom_target(
foreach howto : howto_sources
howto_stripped = custom_target(
command: [
- find_program('sed'),
+ sed,
'-e',
'1,/^$/d',
'@INPUT@',