From: Johannes Sixt Date: Fri, 25 May 2007 11:07:15 GMT Subject: Re: GIT on MinGW problem Message-ID: <4656C363.FF9835E5@eudaptics.com> In-Reply-To: Johannes Schindelin wrote: > On Fri, 25 May 2007, Johannes Sixt wrote: > > * perl scripts like git-remote contain a hard-coded path to the > > installation directory and don't work for this reason. > > GITPERLLIB should be set from the wrapper script, I think. The clean way is certainly to derive the directory from $0: use lib $0 =~ /^(.*)([\/\\]+[^\/\\]*){2}$/ ? ("$1/lib") : (); (although I'm not sure whether this would work during 'make test'). -- Hannes