aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/source_files_read.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-10-02 15:17:02 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2019-10-17 19:07:20 -0400
commit5e23b12e0cdc531554e21ca464d2d0a2f8205645 (patch)
tree010335171b2331269d21cbcda3f169c36a09c4db /org/source_files_read.org
parentdocument headers & config: yaml introduced (diff)
path related, mostly cosmetic code
Diffstat (limited to 'org/source_files_read.org')
-rw-r--r--org/source_files_read.org8
1 files changed, 4 insertions, 4 deletions
diff --git a/org/source_files_read.org b/org/source_files_read.org
index 02e31e0..6106930 100644
--- a/org/source_files_read.org
+++ b/org/source_files_read.org
@@ -60,7 +60,7 @@ static template readConfigSite() {
string[] possible_config_path_locations = _conf_file_details.possible_config_path_locations.config_local_site;
foreach(conf_fn; [_conf_file_details.config_filename_site]) {
foreach(pth; possible_config_path_locations) {
- char[] conf_file = asNormalizedPath(chainPath(pth.to!string, conf_fn)).array;
+ char[] conf_file = ((chainPath(pth.to!string, conf_fn)).asNormalizedPath).array;
conf_filename = conf_fn;
if (config_file_str.length > 0) {
// conf_filename = conf_fn;
@@ -119,7 +119,7 @@ static template readConfigDoc() {
string[] possible_config_path_locations = _conf_file_details.possible_config_path_locations.dr_document_make;
foreach(conf_fn; [_conf_file_details.config_filename_document]) {
foreach(pth; possible_config_path_locations) {
- auto conf_file = asNormalizedPath(chainPath(pth.to!string, conf_fn)).array;
+ auto conf_file = ((chainPath(pth.to!string, conf_fn)).asNormalizedPath).array;
conf_filename = conf_fn;
if (config_file_str.length > 0) {
// conf_filename = conf_fn;
@@ -179,7 +179,7 @@ static template configReadInSiteSTR() {
writeln("WARNING (io debug) in config possible path locations: ", possible_config_path_locations);
}
foreach(pth; possible_config_path_locations) {
- auto conf_file = asNormalizedPath(chainPath(pth.to!string, conf_toml)).array;
+ auto conf_file = ((chainPath(pth.to!string, conf_toml)).asNormalizedPath).array;
if (config_file_str.length > 0) {
break;
}
@@ -216,7 +216,7 @@ static template configReadInDocSTR() {
writeln("WARNING (io debug) in config possible path locations: ", possible_config_path_locations);
}
foreach(pth; possible_config_path_locations) {
- auto conf_file = asNormalizedPath(chainPath(pth.to!string, conf_toml)).array;
+ auto conf_file = ((chainPath(pth.to!string, conf_toml)).asNormalizedPath).array;
if (config_file_str.length > 0) {
break;
}