Github user kxepal commented on a diff in the pull request:
https://github.com/apache/couchdb-documentation/pull/30#discussion_r38478436
--- Diff: Makefile ---
@@ -21,11 +21,7 @@ PAPERSIZE := -D latex_paper_size=a4
SPHINXFLAGS := -a -W -n -A local=1 $(PAPERSIZE) -d $(BUILDDIR)/doctree
SPHINXOPTS := $(SPHINXFLAGS) $(SOURCE)
-ENSURECMD=\
-if [[ $(shell which $(1) > /dev/null 2>&1; echo $$?) -eq 1 ]]; then \
- echo "*** Make sure that $(1) is installed and on your path" && exit 1; \
-fi
-
+ENSURECMD=which $(1) /dev/null 2>&1 || (echo "*** Make sure that $(1) is
installed and on your path" && exit 1)
--- End diff --
I guess, missed stdout redirection glyph is missed here.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---