aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-12-06 14:24:42 +0100
committerJunio C Hamano <gitster@pobox.com>2024-12-07 07:52:09 +0900
commitc2a3b847eda3b51973998c1fa0a8749eb7e686b9 (patch)
treec84fb9648d1c6438e1d0ab33d912d98dfc6be6c2 /Makefile
parenta38edab7c88b5503bb2b5f5cbd49f6b97e9a6a4e (diff)
downloadgit-c2a3b847eda3b51973998c1fa0a8749eb7e686b9.tar.xz
Makefile: consistently use PERL_PATH
When injecting the Perl path into our scripts we sometimes use '@PERL@' while we othertimes use '@PERL_PATH@'. Refactor the code use the latter consistently, which makes it easier to reuse the same logic for multiple scripts. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1255d222c2..0e289d1dbc 100644
--- a/Makefile
+++ b/Makefile
@@ -2554,7 +2554,7 @@ sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
-e 's/@USE_GETTEXT_SCHEME@/$(USE_GETTEXT_SCHEME)/g' \
-e $(BROKEN_PATH_FIX) \
-e 's|@GITWEBDIR@|$(gitwebdir_SQ)|g' \
- -e 's|@PERL@|$(PERL_PATH_SQ)|g' \
+ -e 's|@PERL_PATH@|$(PERL_PATH_SQ)|g' \
-e 's|@PAGER_ENV@|$(PAGER_ENV_SQ)|g' \
$@.sh >$@+
endef