diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-12-16 17:18:01 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | 51fd56020424dcca50c4b8cfb3877640a6a9656b (patch) | |
tree | 052b45cb065e2edc6fdf470d2c09b84c21eb9937 /src/sdp/sdp.d | |
parent | target different type of config file locations (diff) |
target config file locations, refine
Diffstat (limited to 'src/sdp/sdp.d')
-rwxr-xr-x | src/sdp/sdp.d | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/sdp/sdp.d b/src/sdp/sdp.d index 418eb1f..8434841 100755 --- a/src/sdp/sdp.d +++ b/src/sdp/sdp.d @@ -309,9 +309,10 @@ void main(string[] args) { _manifest_start = PodManifest!()(arg); if (arg.match(rgx.flag_action)) { flag_action ~= " " ~ arg; // flags not taken by getopt - } else if (arg.match(rgx.src_pth_sst_or_ssm)) { - _manifests ~= PodMatters!()(_opt_action, _env, arg, arg); // gather input markup source file names for processing - } else if (_manifest_start.pod_manifest_file_with_path) { + } else if ( + !(arg.match(rgx.src_pth_sst_or_ssm)) + && _manifest_start.pod_manifest_file_with_path + ) { string contents_location_raw_; string contents_location_; string sisudoc_txt_ = _manifest_start.pod_manifest_file_with_path; @@ -357,6 +358,8 @@ void main(string[] args) { _manifests ~= _manifest_matter; // TODO how to capture? } } + } else if (arg.match(rgx.src_pth_sst_or_ssm)) { + _manifests ~= PodMatters!()(_opt_action, _env, arg, arg); // gather input markup source file names for processing } else if (arg.match(rgx.src_pth_zip)) { // fns_src ~= arg; // gather input markup source file names for processing } else { // anything remaining, unused |