diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-06-25 00:07:44 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-06-25 00:07:44 -0400 |
commit | c25fc2751886278a4e7f30f127e80449160a47f1 (patch) | |
tree | d19cab06d629a995848a296409693b5890d59f60 /lib/sisu/v4/hub.rb | |
parent | v5: "general code cleaning" fix (diff) |
v4: general code cleaning, sync with v5sisu_4.1.6
Diffstat (limited to 'lib/sisu/v4/hub.rb')
-rw-r--r-- | lib/sisu/v4/hub.rb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/sisu/v4/hub.rb b/lib/sisu/v4/hub.rb index 2873c2cf..84178dff 100644 --- a/lib/sisu/v4/hub.rb +++ b/lib/sisu/v4/hub.rb @@ -76,7 +76,6 @@ module SiSU def initialize(argv) pwd_the=Dir.pwd begin #% select what to do - home=ENV['HOME'] opt=SiSU_Commandline::Options.new(argv) SiSU::Processing.new(opt).actions rescue @@ -140,7 +139,6 @@ module SiSU end end def manifest_on_files_translated - r=Px[:lng_lst_rgx] number_of_files={} @opt.files.each_with_index do |fns,i| fn=fns.gsub(/(?:~(?:#{@r}))?\.ss[tm]$/,'') @@ -514,7 +512,7 @@ module SiSU end def do_initialization @cX=SiSU_Screen::Ansi.new(@opt.cmd).cX - flag=SiSU_Env::InfoProcessingFlag.new + SiSU_Env::InfoProcessingFlag.new if @opt.act[:version_info][:set]==:on #% version information SiSU_Env::InfoAbout.new(@opt).sisu_version end @@ -573,7 +571,6 @@ module SiSU if @opt.act[:dal][:set]==:on @retry_count= -1 begin - path_image='./_sisu/processing/external_document/image' @get_s,@get_p,@get_pl=[],[],[] re_s=/(\S+?\.-sst)$/ re_p3=/((?:https?|file):\/\/\S+?(?:\/\S+?\.ss[mt]\.txz|sisupod(?:\.txz)?|\.ssp))/ @@ -700,7 +697,7 @@ module SiSU puts SiSU_Markup::MarkupHistory.new(@opt).query elsif @opt.mod.inspect =~/--identify/ require_relative 'sst_identify_markup' # sst_identify_markup.rb - markup_version=SiSU_Markup::MarkupIdentify.new(@opt).markup_version? + SiSU_Markup::MarkupIdentify.new(@opt).markup_version? elsif @opt.mod.inspect =~/--sitemaps/ #% sitemaps require_relative 'sitemaps' # sitemaps.rb SiSU_Sitemaps::Source.new(@opt).read |