Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 717D118708 for ; Tue, 15 Sep 2015 14:55:24 +0000 (UTC) Received: (qmail 31058 invoked by uid 500); 15 Sep 2015 14:55:24 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 31003 invoked by uid 500); 15 Sep 2015 14:55:24 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 30990 invoked by uid 99); 15 Sep 2015 14:55:24 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2015 14:55:24 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 16912E0044; Tue, 15 Sep 2015 14:55:24 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: kxepal@apache.org To: commits@couchdb.apache.org Date: Tue, 15 Sep 2015 14:55:24 -0000 Message-Id: <2e0157f8988b4b0eb0a38138ad46d08f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] documentation commit: updated refs/heads/master to 57a65ef Repository: couchdb-documentation Updated Branches: refs/heads/master a3101e9af -> 57a65effe Fix bashism in Makefile The [[ operator is a bashism, and fails with POSIX shells (such as dash), replace it with a simplier version that does the same thing, without the unnecessary $(shell) nesting. Project: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/commit/e31ad61f Tree: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/tree/e31ad61f Diff: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/diff/e31ad61f Branch: refs/heads/master Commit: e31ad61f86d97f6005a0cc35347159823e0855a8 Parents: ddf2481 Author: Micah Anderson Authored: Tue Sep 15 10:48:31 2015 -0400 Committer: Micah Anderson Committed: Tue Sep 15 10:49:07 2015 -0400 ---------------------------------------------------------------------- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-documentation/blob/e31ad61f/Makefile ---------------------------------------------------------------------- diff --git a/Makefile b/Makefile index a36345c..03ee668 100644 --- a/Makefile +++ b/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) all: html pdf info man