diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-07-15 18:25:31 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-07-15 18:25:31 -0400 |
commit | ebc9b30cafa7d4ef1fcca7eeb82207dd2572d4c2 (patch) | |
tree | a71239887c37a3aaf575a2ba76e0fff64e803d25 /bin | |
parent | documents / documentation related (diff) |
v5 v6: bin/sisu, hub, options, pass message: sisu_called_from_directory
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sisu | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -179,6 +179,8 @@ class Orient path_lib: sisu_path_lib, version_info_path: sisu_version_info_path, language_list: language_list.codes, + language_list_regex: language_list.regex, + called_from: sisu_called_from_directory, } end def get_processing_info @@ -233,7 +235,7 @@ class Orient Dir.chdir(markup_dir) $sisu_document_markup_directory_base_fixed_path= Dir.pwd.gsub(/\/(?:#{language_list.regex})$/,'') - SiSU::HubMaster.new(argv_sub) + SiSU::HubMaster.new(argv_sub,sisu_called_from_directory) elsif markup_dir =~/https?:/ markup_file.each do |mf| (FileTest.file?(mf)) \ @@ -244,7 +246,7 @@ class Orient $sisu_document_markup_directory_base_fixed_path= Dir.pwd.gsub(/\/(?:#{language_list.regex})$/,'') argv_sub=command_line_modifiers + markup_file - SiSU::HubMaster.new(argv_sub) + SiSU::HubMaster.new(argv_sub,sisu_called_from_directory) else p "Error directory specified #{markup_dir} not found" end ensure @@ -256,7 +258,7 @@ class Orient $sisu_document_markup_directory=Dir.pwd.gsub(/\/$/,'') $sisu_document_markup_directory_base_fixed_path= Dir.pwd.gsub(/(^|\/)(?:#{language_list.regex})$/,'') - SiSU::HubMaster.new(processing.argv) + SiSU::HubMaster.new(processing.argv,sisu_called_from_directory) end end end |