Michal Rokos <michal.rokos@xxxxxxxxxxx> writes: > Hello, > > On Sunday 09 July 2006 12:14, Junio C Hamano wrote: >> Michal, is there a reason you do not want to have the version of >> perl you teach git tools via #! lines with PERL_PATH on your $PATH? > > I have no problem with that. I can set $PATH. > But then I'd suggest to change magic #! > from #!/usr/bin/perl > to #!/usr/bin/env perl > for *.perl > > It that what you meant? No, that is not what I meant. Invocation of perl _in_ scripts can be controlled by user's PATH, but #! cannot be. As Merlyn says 'env' is a nice hack, but we configure the scripts we install to have #! pointing at the right interpreter as a more cleaner (than using 'env', that is) workaround anyway, so #! pointing at PERL_PATH and scripts relying on user's $PATH would be the right thing to do. - : 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