Linus Torvalds <torvalds@xxxxxxxx> writes: > On Sun, 2 Jul 2006, Junio C Hamano wrote: >> 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. - : 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