summaryrefslogtreecommitdiff
path: root/dev-vcs/git-extras/files/git-extras-6.5.0-no-bash-completion-install.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/git-extras/files/git-extras-6.5.0-no-bash-completion-install.patch')
-rw-r--r--dev-vcs/git-extras/files/git-extras-6.5.0-no-bash-completion-install.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-vcs/git-extras/files/git-extras-6.5.0-no-bash-completion-install.patch b/dev-vcs/git-extras/files/git-extras-6.5.0-no-bash-completion-install.patch
new file mode 100644
index 000000000000..f266c1562d91
--- /dev/null
+++ b/dev-vcs/git-extras/files/git-extras-6.5.0-no-bash-completion-install.patch
@@ -0,0 +1,20 @@
+We shouldn't install this manually to that location.
+--- a/Makefile
++++ b/Makefile
+@@ -69,8 +69,6 @@ install: check
+ cp -f man/git-*.1 $(DESTDIR)$(MANPREFIX); \
+ echo "cp -f man/git-*.1 $(DESTDIR)$(MANPREFIX)"; \
+ fi
+- @mkdir -p $(DESTDIR)$(SYSCONFDIR)/bash-completion/completions
+- cp -f etc/bash_completion.sh $(DESTDIR)$(SYSCONFDIR)/bash-completion/completions/git-extras
+ @echo ""
+ @echo "If you are a zsh user, you may want to 'source $(CODE_DIR)etc/git-extras-completion.zsh'" \
+ "and put this line into ~/.zshrc to enable zsh completion"
+@@ -119,7 +117,6 @@ uninstall:
+ echo "... uninstalling $(DESTDIR)$(MANPREFIX)/$(notdir $(MAN))"; \
+ rm -f $(DESTDIR)$(MANPREFIX)/$(notdir $(MAN)); \
+ )
+- rm -f $(DESTDIR)$(SYSCONFDIR)/bash-completion/completions/git-extras
+
+ clean: docclean
+