Return-Path: Delivered-To: apmail-incubator-couchdb-commits-archive@locus.apache.org Received: (qmail 16171 invoked from network); 16 Jun 2008 12:26:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jun 2008 12:26:16 -0000 Received: (qmail 15455 invoked by uid 500); 16 Jun 2008 12:26:18 -0000 Delivered-To: apmail-incubator-couchdb-commits-archive@incubator.apache.org Received: (qmail 15436 invoked by uid 500); 16 Jun 2008 12:26:18 -0000 Mailing-List: contact couchdb-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-commits@incubator.apache.org Received: (qmail 15427 invoked by uid 99); 16 Jun 2008 12:26:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jun 2008 05:26:18 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jun 2008 12:25:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0F17C2388A01; Mon, 16 Jun 2008 05:25:25 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r668137 - /incubator/couchdb/trunk/bootstrap Date: Mon, 16 Jun 2008 12:25:24 -0000 To: couchdb-commits@incubator.apache.org From: nslater@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080616122525.0F17C2388A01@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: nslater Date: Mon Jun 16 05:25:24 2008 New Revision: 668137 URL: http://svn.apache.org/viewvc?rev=668137&view=rev Log: make sure that the get function exits successfully in absence of variable value Modified: incubator/couchdb/trunk/bootstrap Modified: incubator/couchdb/trunk/bootstrap URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/bootstrap?rev=668137&r1=668136&r2=668137&view=diff ============================================================================== --- incubator/couchdb/trunk/bootstrap (original) +++ incubator/couchdb/trunk/bootstrap Mon Jun 16 05:25:24 2008 @@ -39,10 +39,10 @@ sed -e "s/m4_//" < $ACINCLUDE_IN_FILE >> $temporary_file echo $variable_name >> $temporary_file if test -x "`which m4 || true`"; then - `which m4` $temporary_file | grep -v "^$" + `which m4` $temporary_file | grep -v "^$" || true else if test -x "`which gm4 || true`"; then - `which gm4` $temporary_file | grep -v "^$" + `which gm4` $temporary_file | grep -v "^$" || true else echo unknown fi