From 312749fc466b79984901fbf94c890a388c597e97 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Tue, 22 May 2007 19:37:30 +0200 Subject: [PATCH] Fix 'make install' of the repository templates. In 2d84ffaf0da5f8ab0143b30cce254d7e6ea1e7a4 the path to the template directory was modified to be relative. However, since this setting is passed down to templates/Makefile, it installed the templates in the build directory. This works around the problem by not allowing the installation directory to be overridable. --- templates/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/Makefile b/templates/Makefile index a55edcc202..a4e7075caa 100644 --- a/templates/Makefile +++ b/templates/Makefile @@ -7,7 +7,7 @@ endif INSTALL ?= install TAR ?= tar prefix ?= $(HOME) -template_dir ?= $(prefix)/share/git-core/templates/ +template_dir = $(prefix)/share/git-core/templates/ # DESTDIR= # set NOEXECTEMPL to non-empty to change the names of hook scripts # so that the tools will not find them