aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/sisupod_make.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-09-05 10:36:28 -0400
committerRalph Amissah <ralph@amissah.com>2011-09-05 10:41:45 -0400
commit7bc559f85cb0b6c6f4cdfe127a386573b4c5d8ce (patch)
tree4d7832a654779710edbf304437be8ee8ab0e6dc7 /lib/sisu/v3/sisupod_make.rb
parentv3: 3.0.17 version & changelog "opened" (diff)
v3: unix conditional tests (? :) remove line break markers before : cosmetic
Diffstat (limited to 'lib/sisu/v3/sisupod_make.rb')
-rw-r--r--lib/sisu/v3/sisupod_make.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3/sisupod_make.rb b/lib/sisu/v3/sisupod_make.rb
index f54f43d9..9c280df5 100644
--- a/lib/sisu/v3/sisupod_make.rb
+++ b/lib/sisu/v3/sisupod_make.rb
@@ -87,7 +87,7 @@ module SiSU_Doc
def read
unless @opt.cmd =~/q/
@opt.cmd=~/[MVvz]/ \
- ? SiSU_Screen::Ansi.new(@opt.cmd,'Share SiSU Document (zip)',@opt.fns).green_hi_blue \
+ ? SiSU_Screen::Ansi.new(@opt.cmd,'Share SiSU Document (zip)',@opt.fns).green_hi_blue
: SiSU_Screen::Ansi.new(@opt.cmd,'Share SiSU Document (zip)',@opt.fns).green_title_hi
end
unless @opt.fns.empty?
@@ -171,7 +171,7 @@ module SiSU_Doc
@rgx_skin=/^\s+:skin:\s+(\S+)/
@rgx_doc_import=/^%\s\s*\|(\S+?\.ss[ti])\|@\|\^\|>>ok/
use_file=@opt.fns =~/(?:\.ssm|\.ssm\.sst)$/ \
- ? "#{@env.processing_path.composite_file}/#{@opt.fnb}.ssm.sst" \
+ ? @opt.fns.gsub(/\.ssm\.sst$/,'.ssm')
: @opt.fns
file_array=IO.readlines(use_file,'')
skin,images,doc_import=[],[],[]