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>
Tue, 28 Oct 2008 15:56:47 +0000 (08:56 -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 0d40f0ecca30a6c86f2f7016be02d8e936bc1dab..e7e6f9c7180c294c5eed14d35d24675ef84abeff 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1355,7 +1355,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