summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-10-09 12:59:44 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-09 12:59:47 -0700
commit16f5bfcf65b46260f3a4fc66769e8b5cfd18a11a (patch)
tree34790946727e58255d6d1f66357544f87e5da281
parentPost 1.7.7 first wave (diff)
parentMakefile: fix permissions of mergetools/ checked out with permissive umask (diff)
downloadtgif-16f5bfcf65b46260f3a4fc66769e8b5cfd18a11a.tar.xz
Makefile: fix permissions of mergetools/ checked out with permissive umask
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cd5888b9a2..0d230227c2 100644
--- a/Makefile
+++ b/Makefile
@@ -2291,8 +2291,7 @@ install: all
$(INSTALL) $(install_bindir_programs) '$(DESTDIR_SQ)$(bindir_SQ)'
$(MAKE) -C templates DESTDIR='$(DESTDIR_SQ)' install
$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(mergetools_instdir_SQ)'
- (cd mergetools && $(TAR) cf - .) | \
- (cd '$(DESTDIR_SQ)$(mergetools_instdir_SQ)' && umask 022 && $(TAR) xof -)
+ $(INSTALL) -m 644 mergetools/* '$(DESTDIR_SQ)$(mergetools_instdir_SQ)'
ifndef NO_PERL
$(MAKE) -C perl prefix='$(prefix_SQ)' DESTDIR='$(DESTDIR_SQ)' install
$(MAKE) -C gitweb install