Actually we need a symlink for gitk. At least ArchLinux doesn't do that,
so we would be fixing at least one bug.

Signed-off-by: Felipe Contreras <felipe.contre...@gmail.com>
---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index 2690903..a3d27d8 100644
--- a/Makefile
+++ b/Makefile
@@ -2349,6 +2349,9 @@ install: all
        $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(mergetools_instdir_SQ)'
        $(INSTALL) -m 644 mergetools/* '$(DESTDIR_SQ)$(mergetools_instdir_SQ)'
        $(INSTALL) -D -m 644 shared/git-completion.bash 
'$(DESTDIR_SQ)$(bashcompdir_SQ)'/git
+       ln git '$(DESTDIR_SQ)$(bashcompdir_SQ)'/gitk || \
+               ln -s git '$(DESTDIR_SQ)$(bashcompdir_SQ)'/gitk || \
+               cp '$(DESTDIR_SQ)$(bashcompdir_SQ)'/git 
'$(DESTDIR_SQ)$(bashcompdir_SQ)'/gitk
        $(INSTALL) -D -m 644 shared/git-prompt.sh 
'$(DESTDIR_SQ)$(sharedir_SQ)'/git-core/git-prompt.sh
        $(INSTALL) -D -m 644 shared/git-completion.zsh 
'$(DESTDIR_SQ)$(sharedir_SQ)'/zsh/site-functions/_git
 ifndef NO_GETTEXT
-- 
1.9.2+fc1.27.gbce2056

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to