Re: [PATCH 0/9] Make gitexecdir relative to $(bindir) on Windows
- From
Johannes Sixt <johannes.sixt@telecom.at>
- Date
- Jul 22, 2008, 19:31 UTC
- Message-ID
- <200807222131.32828.johannes.sixt@telecom.at>
- In-Reply-To
- <alpine.DEB.1.00.0807220140170.3407@eeepc-johanness>
On Dienstag, 22. Juli 2008, Johannes Schindelin wrote:
Show 7 quoted lines
> Hi, > > On Mon, 21 Jul 2008, Johannes Sixt wrote: > > The problem was that argv[0] does not have a path in certain cases. > > Note that the same holds true for Linux when calling a program that is in > the PATH:
Oh, boy!
> I imagine that the proper solution would be to rip out lookup_prog() and > use it for non-Windows Git, too. Unless you want to limit the usefulness > of your patch series to Windows, that is.
This certainly goes beyond what I am prepared to do. It is not my itch. The series is already much longer than I wanted, when there is a much simpler solution that solves *my* problem: to set bindir = $(gitexecdir).
-- Hannes