@option_list =qw(
$forcerun $buildconf $keepall $help
$quiet $from_source $from_source_clean $testmode
- $skip_steps $only_steps
+ $skip_steps $only_steps $override
$nosend $nostatus $verbose
);
}
our (
$forcerun, $buildconf, $keepall,$help,
$quiet, $from_source,$from_source_clean, $testmode,
- $skip_steps,$only_steps,
+ $skip_steps,$only_steps, $overrides,
$nosend, $nostatus, $verbose,
);
'quiet' => \$quiet,
'skip-steps=s' => \$skip_steps,
'only-steps=s' => \$only_steps,
+ 'override=s@' => \$overrides,
);
$buildconf = "build-farm.conf"; # default value
print scalar(localtime()),": buildfarm run for $animal:$branch starting\n"
if $verbose;
+# Allow commandline overrides of conf variables
+foreach my $arg ( @{$EximBuild::Options::overrides} )
+{
+ if (my ($key,$val) = split '=', $arg)
+ {
+ $EximBuild::conf{$key} = $val;
+ printf "Commandline override: '$key' = '%s'\n", $EximBuild::conf{$key}
+ if $verbose;
+ }
+}
+
if (ref($force_every) eq 'HASH')
{
$force_every = $force_every->{$branch} || $force_every->{default};
sub display_features
{
+ return unless step_wanted('features');
my @out = `cd $exim
src/build-*/exim -C test/confs/0000 -bV `;
my $status = $? >>8;