@matheusbsbs / matheus-bagliano / commits / a6c6060a0a
Fork 0

Makefile: remove redundant munging of @@INSTLIBDIR@@

Junio originally added this in f6276fe159 for use in `unshift @INC, '@@INSTLIBDIR@@'' in git-fmt-merge-msg.perl. That program was since then rewritten in C in 00449f992b. And since 6fcca938b0 all Perl programs use `use lib' to set their @INC path. There's been no @@INSTLIBDIR@@ in any Perl script to replace since then. So there's no reason to keep it around. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ævar Arnfjörð Bjarmason committed May 30, 2010 at 17:12 UTC a6c6060a0ac04150403b7be420f962c167c27565
1 file changed +1 -2
Makefile
+1 -2
@@ -1545,11 +1545,10 @@ $(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl
1545 sed -e '1{' \
1546 -e ' s|#!.*perl|#!$(PERL_PATH_SQ)|' \
1547 -e ' h' \
1548 - -e ' s=.*=use lib (split(/$(pathsep)/, $$ENV{GITPERLLIB} || "@@INSTLIBDIR@@"));=' \
1548 + -e ' s=.*=use lib (split(/$(pathsep)/, $$ENV{GITPERLLIB} || "'"$$INSTLIBDIR"'"));=' \
1549 -e ' H' \
1550 -e ' x' \
1551 -e '}' \
1552 - -e 's|@@INSTLIBDIR@@|'"$$INSTLIBDIR"'|g' \
1552 -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \
1553 $@.perl >$@+ && \
1554 chmod +x $@+ && \