Re: [PATCH 5/9 v2] Allow the built-in exec path to be relative to the command invocation path
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Jul 25, 2008, 08:38 UTC
- Message-ID
- <4889911A.4040204@viscovery.net>
- In-Reply-To
- <1216974722.48898f82e80d6@webmail.eunet.at>
Johannes Sixt schrieb:
> Oh, I see: You tested it on Linux, right? This patch series does not work > correctly on Linux (Unix? bash?), as Dscho has pointed out, since argv[0]
does not work correctly on Linux... *iff gitexecdir is relative*
> does not have a directory part if "git" is in $PATH. In this case, system_path() > just returns its argument, which is the relative path. :-/
-- Hannes