aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/share_src.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-10-11 15:18:40 +0100
committerRalph Amissah <ralph@amissah.com>2007-10-11 15:18:40 +0100
commit2178c097c3c6264832952d3f1b91cc9b822d43e2 (patch)
tree453f68dedc079db930acb00694a5127a47296fd9 /lib/sisu/v0/share_src.rb
parentsisu_manual right column, use absolute url paths and some url fixes (diff)
shared markup source, composite documents, fix look to processing directory
for: text share source and binary sisupod (make)
Diffstat (limited to 'lib/sisu/v0/share_src.rb')
-rw-r--r--lib/sisu/v0/share_src.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v0/share_src.rb b/lib/sisu/v0/share_src.rb
index b4b75d48..53e19f1c 100644
--- a/lib/sisu/v0/share_src.rb
+++ b/lib/sisu/v0/share_src.rb
@@ -78,7 +78,7 @@ module SiSU_Markup
unless @opt.fns =~/\.ssm$/; cp(@opt.fns,@output_path)
else
req=@opt.fns.gsub(/(.+)?\.ssm$/,'\1.composite.sst')
- file=@opt.fns.gsub(/(.+)?\.ssm$/,'\1._sst')
+ file="#{@env.path.composite_file}/#{@opt.fnb}._sst"
if FileTest.file?(file); cp(file,"#@output_path/#{req}")
else print "did not find #{file} to copy"
end