From b0b8fd1f24c79e85f63cd417e5ad4d9daea45a1d Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 26 Nov 2007 01:19:50 +0000 Subject: sysenv step in remote images test needs to be retained --- conf/sisu/version.yml | 6 +++--- lib/sisu/v0/sysenv.rb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/sisu/version.yml b/conf/sisu/version.yml index 977a1b29..bac6d558 100644 --- a/conf/sisu/version.yml +++ b/conf/sisu/version.yml @@ -1,5 +1,5 @@ --- -:date: "2007-11-03" +:date: "2007-11-26" :project: SiSU -:version: 0.62.2 -:date_stamp: 2007w44/6 +:version: 0.62.3-pre +:date_stamp: 2007w48/1 diff --git a/lib/sisu/v0/sysenv.rb b/lib/sisu/v0/sysenv.rb index 930068f1..5e6246fc 100644 --- a/lib/sisu/v0/sysenv.rb +++ b/lib/sisu/v0/sysenv.rb @@ -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 not @md.ec[:image].empty? + 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 images_external="#{local_gen_image_external}/" + @md.ec[:image].join(" #{local_gen_image_external}/") -- cgit v1.2.3