diff options
author | 2017-09-14 13:10:45 -0400 | |
---|---|---|
committer | 2017-09-14 13:10:45 -0400 | |
commit | 3cd42bf3b74125c34b8bff80e5ecbe08efff0815 (patch) | |
tree | 1e9feba8862de50b5cda7fbf4859ce284499e92f | |
parent | 9c7542df2ab53df16b7fd6a677f624fe2088c3c5 (diff) |
/dev/null stderr when generating completions
avoid usage display when too old optparse-applicative
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -67,10 +67,10 @@ install-misc: build Build/InstallDesktopFile install -d $(DESTDIR)$(PREFIX)/$(SHAREDIR)/bash-completion/completions install -m 0644 bash-completion.bash $(DESTDIR)$(PREFIX)/$(SHAREDIR)/bash-completion/completions/git-annex install -d $(DESTDIR)$(PREFIX)/$(SHAREDIR)/zsh/vendor-completions - @./git-annex --zsh-completion-script git-annex > $(DESTDIR)$(PREFIX)/$(SHAREDIR)/zsh/vendor-completions/_git-annex || \ + @./git-annex --zsh-completion-script git-annex 2>/dev/null > $(DESTDIR)$(PREFIX)/$(SHAREDIR)/zsh/vendor-completions/_git-annex || \ echo "** zsh completions not installed; built with too old version of optparse-applicative" install -d $(DESTDIR)$(PREFIX)/$(SHAREDIR)/fish/completions - @./git-annex --fish-completion-script git-annex > $(DESTDIR)$(PREFIX)/$(SHAREDIR)/fish/completions/git-annex.fish || \ + @./git-annex --fish-completion-script git-annex 2>/dev/null > $(DESTDIR)$(PREFIX)/$(SHAREDIR)/fish/completions/git-annex.fish || \ echo "** fish completions not installed; built with too old version of optparse-applicative" install: install-bins install-docs install-misc |