[PATCH 10/9] git-gui: git.git now uses $(gitexec_instdir) to point to the exec-path
- From
Johannes Sixt <johannes.sixt@telecom.at>
- Date
- Jul 21, 2008, 19:26 UTC
- Message-ID
- <200807212126.12212.johannes.sixt@telecom.at>
- In-Reply-To
- <1216667998-8879-10-git-send-email-johannes.sixt@telecom.at>
In git.git the Makefile variable $(gitexecdir) can be relative. It now exports the actual install location in $(gitexec_instdir).
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> --- Makefile | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile index b19fb2d..c8660fb 100644 --- a/Makefile +++ b/Makefile @@ -30,8 +30,12 @@ ifndef SHELL_PATH endif ifndef gitexecdir +ifdef gitexec_instdir + gitexecdir := $(gitexec_instdir) +else gitexecdir := $(shell git --exec-path) endif +endif ifndef sharedir sharedir := $(dir $(gitexecdir))share
-- 1.6.0.rc0.18.g6aef2