aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/sysenv.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-11-26 00:04:41 +0000
committerRalph Amissah <ralph@amissah.com>2007-11-26 00:04:41 +0000
commitbee31a900491cc7e22fd5630a07b646fedcaad28 (patch)
treeb7758e9d73f33f92fae9017a9c783bcdfacdb6cc /lib/sisu/v0/sysenv.rb
parentsisu-0.62.2 + md5s (diff)
various small adjustments for 0.62.3
* html <hr> follows text, before footnotes (refine later) * rsync remote images partial fix * minor bug fix, related to error message passing, in texpdf and url * sisu_manual version info * vim ftplugin, status line info on cursor position modified
Diffstat (limited to 'lib/sisu/v0/sysenv.rb')
-rw-r--r--lib/sisu/v0/sysenv.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v0/sysenv.rb b/lib/sisu/v0/sysenv.rb
index b2215b64..930068f1 100644
--- a/lib/sisu/v0/sysenv.rb
+++ b/lib/sisu/v0/sysenv.rb
@@ -2339,7 +2339,7 @@ p @zap
local_gen_image_external="#{@env.path.webserv}/#{@env.path.stub_pwd}/_sisu/image_external"
remote_gen="#{remote_conn[:name]}/#{@env.path.stub_pwd}/."
remote_images="#{remote_conn[:name]}/#{@env.path.stub_pwd}/_sisu/image/."
- remote_images="#{remote_conn[:name]}/#{@env.path.stub_pwd}/_sisu/image_external/."
+ remote_images_external="#{remote_conn[:name]}/#{@env.path.stub_pwd}/_sisu/image_external/."
local_src=@source_path_src
local_pod=@source_path_pod
remote_src="#{remote_conn[:name]}/#{@env.path.stub_src}/."
@@ -2355,7 +2355,7 @@ p @zap
System_call.new(local_gen,remote_gen,@opt.cmd).rsync('--delete-after')
if FileTest.file?("#{local_src}/#{src_txt}")
System_call.new("#{local_src}/#{src_txt}",remote_src,@opt.cmd).rsync
- if defined? @md.ec[:image]
+ if 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
images_external="#{local_gen_image_external}/" + @md.ec[:image].join(" #{local_gen_image_external}/")