Re: Question about PERL_PATH
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 6, 2011, 16:05 UTC
- Message-ID
- <7v7ha33jd7.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4DC3F804.3080205@mev.co.uk>
Ian Abbott <abbotti@mev.co.uk> writes:
Show 7 quoted lines
> The Gentoo ebuilds for git have started invoking 'make' with the option > 'PERL_PATH=/usr/bin/env perl'. This doesn't seem to cause any problems > except when running git instaweb, which outputs an error similar to the > following: > > /usr/libexec/git-core/git-instaweb: line 135: /usr/bin/env perl: No such > file or directory
The variable is not PERL_COMMAND_LINE, but is PERL_PATH, so I think it should expects the path to the program.
Our testsuite also rely on it being the path to the program by enclosing the reference to it inside double quotes, to make sure that PERL_PATH set to "/Program Files/Perl/perl.exe" works. Didn't Gentoo folks see any test breakage before shipping the ebuild procedure?