couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxepal <...@git.apache.org>
Subject [GitHub] couchdb pull request: Allow passing directories as the config sour...
Date Fri, 04 Jul 2014 04:12:18 GMT
Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb/pull/257#issuecomment-48007579
  
    Ah, I was a bit in rush:  if directory is specified with trailing slash it will not be
handled correctly: the `couchdb -A /etc/couchdb/local.d/` call will look for `/etc/couchdb/local.d//*.ini`
files and obliviously will find nothing. And since there would be no error this could make
someone life a bit harder.
    
    Better replace: `filelib:wildcard(V ++ "/*.ini")`
    with: `filelib:wildcard(filename:join([V,"/*.ini"]));
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message