Skip to content

Commit 71f4637

Browse files
Johannes Sixtgitster
authored andcommitted
Install templates with the user and group of the installing personality
If 'make install' was run with sufficient privileges, then the installed templates, which are copied using 'tar', would receive the user and group of whoever built git. This instructs 'tar' to ignore the user and group that are recorded in the archive. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 9ca8f60 commit 71f4637

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ clean:
4848
install: all
4949
$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(template_instdir_SQ)'
5050
(cd blt && $(TAR) cf - .) | \
51-
(cd '$(DESTDIR_SQ)$(template_instdir_SQ)' && umask 022 && $(TAR) xf -)
51+
(cd '$(DESTDIR_SQ)$(template_instdir_SQ)' && umask 022 && $(TAR) xfo -)

0 commit comments

Comments
 (0)