Re: [PATCH v2] 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 precedence between "use lib @these_paths"

Apologies, I somehow missed the or-expression in $$ENV{GITPERLLIB} || "@@INSTLIBDIR@@" and thought we didn't set any library paths if we unset GITPERLLIB. :( So yes, of course my patch is rubbish -- sorry for wasting your time, I'll check more carefully next time!

If [t/t9700/<many>.perl] unconditionally do "use lib $ENV{GITPERLLIB};"
upfront, wouldn't that be enough to guarantee that you would use the
freshly built one during the test, not the instsalled one?

Yup, that's fine.  I'll add it to the test file.

-- 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