Re: GIT on MinGW problem
- From
Johannes Sixt <j.sixt@eudaptics.com>
- Date
- May 25, 2007, 11:07 UTC
- Message-ID
- <4656C363.FF9835E5@eudaptics.com>
- In-Reply-To
- <Pine.LNX.4.64.0705251113280.4648@racer.site>
Johannes Schindelin wrote:
Show 5 quoted lines
> 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