Code

Install git-shell in bindir, too
authorTommi Virtanen <tv@eagain.net>
Sun, 24 Aug 2008 20:23:25 +0000 (23:23 +0300)
committerJunio C Hamano <gitster@pobox.com>
Sun, 24 Aug 2008 23:15:25 +0000 (16:15 -0700)
/etc/passwd shell field must be something execable, you can't enter
"/usr/bin/git shell" there. git-shell must be present as a separate
executable, or it is useless.

Signed-off-by: Tommi Virtanen <tv@eagain.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index ff71e6acd15cc4816400e26221f7e785044045b0..7a6cbb6f03e599de7644e5c3d72b15b89fa6ccfe 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1359,7 +1359,7 @@ install: all
        $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(bindir_SQ)'
        $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
        $(INSTALL) $(ALL_PROGRAMS) '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
-       $(INSTALL) git$X git-upload-pack$X git-receive-pack$X git-upload-archive$X '$(DESTDIR_SQ)$(bindir_SQ)'
+       $(INSTALL) git$X git-upload-pack$X git-receive-pack$X git-upload-archive$X git-shell$X '$(DESTDIR_SQ)$(bindir_SQ)'
        $(MAKE) -C templates DESTDIR='$(DESTDIR_SQ)' install
        $(MAKE) -C perl prefix='$(prefix_SQ)' DESTDIR='$(DESTDIR_SQ)' install
 ifndef NO_TCLTK