diff options
author | Ralph Amissah <ralph@amissah.com> | 2011-05-17 18:11:15 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2011-05-17 18:11:15 -0400 |
commit | bdd62aba95cba6aa4930e14cee00d2dcc6d43f96 (patch) | |
tree | 8d21a7cdfb403be11afd7cca82af564a4fec7c53 /lib/sisu/v3/sysenv.rb | |
parent | v3: options, expand name of source file for selected language directories (diff) |
v3: po4a re-enabled, related fixes (issues persist)sisu_3.0.9
Diffstat (limited to 'lib/sisu/v3/sysenv.rb')
-rw-r--r-- | lib/sisu/v3/sysenv.rb | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/lib/sisu/v3/sysenv.rb b/lib/sisu/v3/sysenv.rb index 29bfa8af..5a59ebf8 100644 --- a/lib/sisu/v3/sysenv.rb +++ b/lib/sisu/v3/sysenv.rb @@ -1731,8 +1731,8 @@ WOK else defaults[:processing_git] end unless FileTest.directory?(pth) - mkdir_p(git) - File.chmod(0700,git) + mkdir_p(pth) + File.chmod(0700,pth) end pth end @@ -2778,20 +2778,14 @@ WOK System_call.new(local_gen,remote_rel,@opt.cmd).rsync('--relative',@md.file.output_path.base.dir) end if FileTest.file?("#{local_src}/#{src_txt}") - System_call.new("#{local_src}/#{src_txt}",remote_src,@opt.cmd).rsync +# System_call.new("#{local_src}/#{src_txt}",remote_src,@opt.cmd).rsync if defined? @md.ec[:image] and not @md.ec[:image].empty? images="#{local_gen_image}/" + @md.ec[:image].join(" #{local_gen_image}/") - System_call.new(images,remote_images,@opt.cmd).rsync +# System_call.new(images,remote_images,@opt.cmd).rsync images_external="#{local_gen_image_external}/" + @md.ec[:image].join(" #{local_gen_image_external}/") - System_call.new(images_external,remote_images_external,@opt.cmd).rsync +# System_call.new(images_external,remote_images_external,@opt.cmd).rsync end end - if FileTest.file?("#{local_epub}/#{@opt.fnb}.epub") - System_call.new("#{local_epub}/#{@opt.fnb}.epub",remote_epub,@opt.cmd).rsync - end - if FileTest.file?("#{local_pod}/#{src_pod}") - System_call.new("#{local_pod}/#{src_pod}",remote_pod,@opt.cmd).rsync - end elsif @opt.cmd =~/U/ puts "#{__FILE__} #{__LINE__}" if @opt.cmd =~/M/ puts "#{local_gen} -> #{remote_gen}" |