threads / patch / 36619

patchfixup! completion: graduate out of contrib

Subject: [PATCH] fixup! completion: graduate out of contrib

## tl;dr

One message between May 9, 2014 and May 9, 2014. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Felipe Contreras· May 9, 2014, 04:07 UTC · lore

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.contreras@gmail.com>
---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)
Show changes to Makefile +3 −0
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

← back to recent threads