diff options
author | Joan Touzet <joant@atypical.net> | 2017-04-22 00:17:22 -0400 |
---|---|---|
committer | Joan Touzet <joant@atypical.net> | 2017-04-22 00:17:22 -0400 |
commit | 0eee733631a58e959885cc64ff64d6213f1086b8 (patch) | |
tree | e04d0aaa52b53c6f6703b7b561d3556c9a0144e3 | |
parent | b6a951b8bbda1ac8584520e39bfac38cf5b2b5d3 (diff) | |
download | couchdb-0eee733631a58e959885cc64ff64d6213f1086b8.tar.gz |
really fix dev/run
-rwxr-xr-x | dev/run | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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() |