Allow the built-in exec path to be relative to the command invocation path
commit49fa65a7a8185e81c1098815df607042103b0493
authorJohannes Sixt <johannes.sixt@telecom.at>
Wed, 23 Jul 2008 19:12:18 +0000 (23 21:12 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 26 Jul 2008 00:41:13 +0000 (25 17:41 -0700)
tree7f34aec46c7e76a2c1aa8892076fb70084369204
parent966c6edd318f2e44dd150103ec2b6b7a53be58f0
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>
Makefile
exec_cmd.c