From dev-return-4554-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Mon Jun 08 11:14:19 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 35183 invoked from network); 8 Jun 2009 11:14:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jun 2009 11:14:19 -0000 Received: (qmail 1149 invoked by uid 500); 8 Jun 2009 11:14:30 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 1078 invoked by uid 500); 8 Jun 2009 11:14:30 -0000 Mailing-List: contact dev-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 dev@couchdb.apache.org Received: (qmail 1068 invoked by uid 99); 8 Jun 2009 11:14:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 11:14:29 +0000 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 11:14:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B1A5C234C004 for ; Mon, 8 Jun 2009 04:14:07 -0700 (PDT) Message-ID: <1461610369.1244459647722.JavaMail.jira@brutus> Date: Mon, 8 Jun 2009 04:14:07 -0700 (PDT) From: "Erno Palonheimo (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Created: (COUCHDB-378) couchdb start-up script breaks on Solaris 10, expects GNU find MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org couchdb start-up script breaks on Solaris 10, expects GNU find -------------------------------------------------------------- Key: COUCHDB-378 URL: https://issues.apache.org/jira/browse/COUCHDB-378 Project: CouchDB Issue Type: Bug Components: Infrastructure Affects Versions: 0.10 Environment: Solaris 10 Reporter: Erno Palonheimo Priority: Trivial If I install couchdb on stock Solaris 10, this happens when trying to start it using command 'couchdb': # couchdb find: bad option -mindepth find: [-H | -L] path-list predicate-list Reason here is that Solaris 10 doesn't ship with GNU find, and Solaris 10's own find doesn't support -mindepth or -maxdepth options. The offending command is in _add_config_dir function. Replacing it with a simple wildcard + test-expression should be trivial. Something along these lines: for file in "$1"/*; do test -f $file && _add_config_file $file done -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.