From d681388621ce2e32ec1275a9edfea59bb0a4a0cb Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Sun, 10 Jun 2007 16:02:21 +0200 Subject: [PATCH] Avoid double-slash in path names that depend on $(sharedir). Recent git-gui has the ability to determine the location of its library files relative to the --exec-dir. Its Makefile enables this capability depending on the install paths that are specified. However, without this fix there is an extra slash in a path specification, so that the Makefile does not recognize the equivalence of two paths that it compares. As a side-effect, this avoids an ugly compiled-in double-slash in $(template_dir). Signed-off-by: Johannes Sixt --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1ed09aca00..9592ab7f05 100644 --- a/Makefile +++ b/Makefile @@ -144,7 +144,7 @@ STRIP ?= strip prefix = $(HOME) bindir = $(prefix)/bin gitexecdir = $(bindir) -sharedir = $(prefix)/share/ +sharedir = $(prefix)/share template_dir = $(sharedir)/git-core/templates/ ifeq ($(prefix),/usr) sysconfdir = /etc