diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-11-01 02:16:04 +0000 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-11-01 02:16:04 +0000 |
commit | c7e40db7c11d0bc0a70a3a459081da7306dd4671 (patch) | |
tree | d006cec5dbf87e24b0eb97569e36ac875d3a5246 /lib/sisu/v0/remote.rb | |
parent | Hompage now a debian/control header (diff) | |
parent | generate from remote markup source, image path fix and some cosmetic re-arran... (diff) |
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v0/remote.rb')
-rw-r--r-- | lib/sisu/v0/remote.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sisu/v0/remote.rb b/lib/sisu/v0/remote.rb index c65c619f..be36ac9a 100644 --- a/lib/sisu/v0/remote.rb +++ b/lib/sisu/v0/remote.rb @@ -126,7 +126,8 @@ module SiSU_Remote doc_skin_dir = /((?:https?|file):\/\/\S+?)\/[^\/]+?\.sst$/.match(url).captures.join + '/_sisu/skin/doc' #"Got file, and ready to process: #{fnb}.t#{instr}" downloaded_file=File.new("#{fnb}.-sst",'w+') - images=SiSU_Assemble::Remote_image.new.image(imagedir) + image_download_url=SiSU_Assemble::Remote_image.new.image(imagedir) + images=[] skin=SiSU_Assemble::Remote_image.new.image(doc_skin_dir) f.collect.each do |r| # work area unless r =~/^%+\s/ @@ -150,7 +151,7 @@ module SiSU_Remote images.sort! @msg,@msgs='downloading images:', [ images.join(',') ] @tell.call.warn unless @opt.cmd =~/q/ - SiSU_Assemble::Remote_image.new.download_images(images) + SiSU_Assemble::Remote_image.new.download_images(image_download_url,images) @msg,@msgs='downloading done',nil @tell.call.warn unless @opt.cmd =~/q/ end |