Currently always "LogsPublish" (so no functional change).
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
}
}
-die if @ARGV;
+die unless @ARGV==1;
+
+our ($cfgbase) = @ARGV;
csreadconfig();
our @flights;
our @sshopts= qw(-o batchmode=yes);
-$c{LogsPublish} =~ m/\:/ or die "$c{LogsPublish} ?";
+my $cfgvalue = $c{$cfgbase};
+$cgvvalue =~ m/\:/ or die "$c{LogsPublish} ?";
my ($pubhost, $pubdir) = ($`,$'); #';
sub ontarget ($) {
rm -f abort
check_stop_core ''
- ./cr-ensure-disk-space
+ ./cr-ensure-disk-space LogsPublish
export OSSTEST_RESOURCE_PREINFO="[$branch $2]"