Skip to content

Commit d52fd42

Browse files
Johannes Sixtgitster
authored andcommitted
Remove trailing slash from $(template_dir).
All the other directory location variables do not have the trailing slash. Signed-off-by: Johannes Sixt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9354768 commit d52fd42

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ prefix = $(HOME)
145145
bindir = $(prefix)/bin
146146
gitexecdir = $(bindir)
147147
sharedir = $(prefix)/share
148-
template_dir = $(sharedir)/git-core/templates/
148+
template_dir = $(sharedir)/git-core/templates
149149
ifeq ($(prefix),/usr)
150150
sysconfdir = /etc
151151
else

builtin-init-db.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include "builtin.h"
88

99
#ifndef DEFAULT_GIT_TEMPLATE_DIR
10-
#define DEFAULT_GIT_TEMPLATE_DIR "/usr/share/git-core/templates/"
10+
#define DEFAULT_GIT_TEMPLATE_DIR "/usr/share/git-core/templates"
1111
#endif
1212

1313
#ifdef NO_TRUSTABLE_FILEMODE

templates/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ endif
77
INSTALL ?= install
88
TAR ?= tar
99
prefix ?= $(HOME)
10-
template_dir ?= $(prefix)/share/git-core/templates/
10+
template_dir ?= $(prefix)/share/git-core/templates
1111
# DESTDIR=
1212

1313
# Shell quote (do not use $(call) to accommodate ancient setups);

0 commit comments

Comments
 (0)