mirror of
https://github.com/git/git.git
synced 2026-01-09 17:46:37 +00:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
a38edab7c8
commit
c2a3b847ed
2
Makefile
2
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
|
||||
|
||||
Reference in New Issue
Block a user