diff options
author | Jan Lehnardt <jan@apache.org> | 2010-05-22 21:46:08 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2010-05-22 21:46:08 +0000 |
commit | 1ea5ee0b22f275aa65f9b0f657f01942f11b3524 (patch) | |
tree | feca661ab72137aa4cf8196a1a0777d5591acd6f /bin | |
parent | 16a19110eba7c378ade36320598faf10c3c723c9 (diff) | |
download | couchdb-1ea5ee0b22f275aa65f9b0f657f01942f11b3524.tar.gz |
Fix Solaris compat.
Patch by Gavin Sherry and Timothy Smith.
Closes COUCHDB-666 \m/
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@947337 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'bin')
-rw-r--r-- | bin/couchdb.tpl.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/couchdb.tpl.in b/bin/couchdb.tpl.in index bdea97fec..686b18b3b 100644 --- a/bin/couchdb.tpl.in +++ b/bin/couchdb.tpl.in @@ -120,8 +120,8 @@ EOF } _add_config_dir () { - for file in `find "$1" -mindepth 1 -maxdepth 1 -type f -name '*.ini'`; do - _add_config_file $file + for file in "$1"/*.ini; do + [ -r "$file" ] && _add_config_file "$file" done } |