Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
0.10
-
None
-
Solaris 10
Description
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
Attachments
Issue Links
- duplicates
-
COUCHDB-666 Solaris sed requires newline character at end of input: causes build failure in src/couchdb
- Closed