From: Junio C Hamano Date: Tue, 01 May 2012 17:53:50 GMT Subject: Re: [PATCH] gitweb-lib.sh: Set up PATH to use perl from /usr/bin Message-ID: <7v8vhbaitt.fsf@alter.siamese.dyndns.org> In-Reply-To: <4FA02274.6070601@web.de> Torsten Bögershausen writes: > 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 ? Sounds good.