Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Quick merge status updates.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:32

Linus Torvalds [off-list ref] writes:
On Sun, 2 Jul 2006, Junio C Hamano wrote:
quoted
Yuck; that means we would need to have something evil like this.
That's just disgusting.

How about a _much_ simpler approach.

Just make it do

	BEGIN { push ENV{'GIT_PERL_EXEC_DIR'}; }

And then simply _require_ that the setup code sets up GIT_PERL_EXEC_DIR.
No, we are not mucking with /usr/bin but are talking about a
directory for platform specific Perl libraries, which we need to
ask Perl at build-time.

And the standard way to say that is to do:

	use lib '@@INSTLIBDIR@@';

but that always prepends the directory to the search path, and
the ugly stuff is to allow test scripts to override it when
needed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help