Install builtins with the user and group of the installing personality
commit6a0861a8a3295395238c8126c6e74c66b715c595
authorGerrit Pape <pape@smarden.org>
Tue, 24 Feb 2009 08:58:16 +0000 (24 08:58 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Feb 2009 05:46:31 +0000 (24 21:46 -0800)
tree0480aa15b967434eb68569a973ee9f5f9f89bb62
parent48b6026e17f22aff8931d45a62a7a240533efe72
Install builtins with the user and group of the installing personality

If 'make install' was run with sufficient privileges, then the installed
builtins in gitexecdir, which are either hardlinked, symlinked, or copied,
would receive the user and group of whoever built git.  With this commit
the initial hardlink or copy is done from the installation tree and not
the build tree to fix this.

Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile