You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2017/04/22 04:17:37 UTC

[couchdb] branch master updated: really fix dev/run

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git

The following commit(s) were added to refs/heads/master by this push:
       new  0eee733   really fix dev/run
0eee733 is described below

commit 0eee733631a58e959885cc64ff64d6213f1086b8
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Sat Apr 22 00:17:22 2017 -0400

    really fix dev/run
---
 dev/run | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev/run b/dev/run
index 2cf48a4..1002563 100755
--- a/dev/run
+++ b/dev/run
@@ -199,10 +199,13 @@ def write_config(ctx, node, env):
     etc_src = os.path.join(ctx['rootdir'], "rel", "overlay", "etc")
     etc_tgt = ensure_dir_exists(ctx['devdir'], "lib", node, "etc")
 
-    for fname in glob.glob(os.path.join(etc_src, "*.ini")):
+    for fname in glob.glob(os.path.join(etc_src, "*")):
         base = os.path.basename(fname)
         tgt = os.path.join(etc_tgt, base)
 
+        if os.path.isdir(fname):
+            continue
+
         with open(fname) as handle:
             content = handle.read()
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].