Re: [PATCH] gitweb-lib.sh: Set up PATH to use perl from /usr/bin
Torsten Bögershausen <tboegi@web.de> writes:
Show 21 quoted lines
> Thanks for all answers,
>> I think the patch we want is just:
>>
>> diff --git a/t/gitweb-lib.sh b/t/gitweb-lib.sh
>> index 21d11d6..ae2dc46 100644
>> --- a/t/gitweb-lib.sh
>> +++ b/t/gitweb-lib.sh
>> @@ -69,7 +69,7 @@ gitweb_run () {
>> # written to web server logs, so we are not interested in that:
>> # we are interested only in properly formatted errors/warnings
>> rm -f gitweb.log &&
>> - perl -- "$SCRIPT_NAME" \
>> + "$PERL_PATH" -- "$SCRIPT_NAME" \
>> >gitweb.output 2>gitweb.log &&
>> perl -w -e '
>> open O, ">gitweb.headers";
>>
>> no? Torsten, does that fix your problem?
> Yes, it does.
>
> Should we go for that solution ?