summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Sixt <johannes.sixt@telecom.at>2008-08-20 15:36:25 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-08-20 23:01:45 (GMT)
commit71f463773a310de016da20136fd7160685f97faa (patch)
tree4167d271815ef30265d4821672221aa45064a67a
parent9ca8f6079cdb199851636c719900472a9745885f (diff)
downloadgit-71f463773a310de016da20136fd7160685f97faa.zip
git-71f463773a310de016da20136fd7160685f97faa.tar.gz
git-71f463773a310de016da20136fd7160685f97faa.tar.bz2
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>
-rw-r--r--templates/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/Makefile b/templates/Makefile
index 9f3f1fc..cc3fc30 100644
--- a/templates/Makefile
+++ b/templates/Makefile
@@ -48,4 +48,4 @@ clean:
install: all
$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(template_instdir_SQ)'
(cd blt && $(TAR) cf - .) | \
- (cd '$(DESTDIR_SQ)$(template_instdir_SQ)' && umask 022 && $(TAR) xf -)
+ (cd '$(DESTDIR_SQ)$(template_instdir_SQ)' && umask 022 && $(TAR) xfo -)