From 51fd56020424dcca50c4b8cfb3877640a6a9656b Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 16 Dec 2017 17:18:01 -0500 Subject: target config file locations, refine --- src/sdp/sdp.d | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/sdp/sdp.d') 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 -- cgit v1.2.3