Re: [PATCH] test-lib.sh: set PERL5LIB instead of GITPERLLIB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junio C Hamano wrote:
the primary Makefile has this rule to munge our perl scripts:

                [snip]
                sed -e '1{' \
                    -e '	s|#!.*perl|#!$(PERL_PATH_SQ)|' \
                    -e '	h' \
                    -e '	s=.*=use lib (split(/:/, $$ENV{GITPERLLIB} || "@@INSTLIBDIR@@"));=' \

so that people do not have to have that path on PERL5LIB in their
environment when they use [...] scripts that do "use Git"

The real fix to the issue [is]  to fix the build
procedure of gitweb/gitweb.perl so that the above script rewriting is also
applied to it.

I'm not good enough with sed to fix this, so if anyone wants to write a patch to the Makefile that adds "use lib (split(/:/, $$ENV{GITPERLLIB} || "@@INSTLIBDIR@@"))" to gitweb.perl, please go ahead. ;-)

-- Lea
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux