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.