Re: [PATCH 5/9 v2] Allow the built-in exec path to be relative to the command invocation path
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 24, 2008, 04:21 UTC
- Message-ID
- <7vd4l37vz7.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <200807232112.18352.johannes.sixt@telecom.at>
Johannes Sixt <johannes.sixt@telecom.at> writes:
> It also fixes 'make install' of git-gui as well (sigh!) by not exporting > gitexecdir - assuming that Shawn applies the git-gui patch.
Yeah, this seems to break the install quite badly without git-gui patch.
If your PATH does not include the bindir you are installing the freshly built git, then the Makefile in git-gui runs:
ifndef gitexecdir gitexecdir := $(shell git --exec-path) endif
and miserably fails. We can assume that somebody who builds and installs git-gui as a standalone project already *has* an installed, working git on $PATH, so the above ifndef is Ok, but when git-gui is built as part of git.git tree, we really should avoid triggering that codepath.