| author | Johannes Sixt <johannes.sixt@telecom.at> | |
| Wed, 23 Jul 2008 19:12:18 +0000 (21:12 +0200) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Sat, 26 Jul 2008 00:41:13 +0000 (17:41 -0700) | ||
| commit | 49fa65a7a8185e81c1098815df607042103b0493 | |
| tree | 7f34aec46c7e76a2c1aa8892076fb70084369204 | tree | snapshot |
| parent | 966c6edd318f2e44dd150103ec2b6b7a53be58f0 | commit | diff |
Allow the built-in exec path to be relative to the command invocation path
If GIT_EXEC_PATH (the macro that is defined in the Makefile) is relative,
it is interpreted relative to the command's invocation path, which usually
is $(bindir).
The Makefile rules were written with the assumption that $(gitexecdir) is
an absolute path. We introduce a separate variable that names the
(absolute) installation directory.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If GIT_EXEC_PATH (the macro that is defined in the Makefile) is relative,
it is interpreted relative to the command's invocation path, which usually
is $(bindir).
The Makefile rules were written with the assumption that $(gitexecdir) is
an absolute path. We introduce a separate variable that names the
(absolute) installation directory.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| Makefile | diff | blob | history | |
| exec_cmd.c | diff | blob | history |