From f0516806345647159a20ba2f7b1749e4ca9d6737 Mon Sep 17 00:00:00 2001 From: Todd Lyons Date: Mon, 21 Oct 2013 13:36:57 -0700 Subject: [PATCH] Allow comma separated lists for steps --- run_build.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/run_build.pl b/run_build.pl index e4d833e..2943475 100755 --- a/run_build.pl +++ b/run_build.pl @@ -126,7 +126,7 @@ if ($skip_steps =~ /\S/) $only_steps ||= ""; if ($only_steps =~ /\S/) { - %only_steps = map {$_ => 1} split(/\s+/,$only_steps); + %only_steps = map {$_ => 1} split(/(\s+|[:,])/,$only_steps); } # Currently only specifying a branch is actually used. @@ -692,6 +692,7 @@ usage: $0 [options] [branch] --test = short for --nosend --nostatus --verbose --force --skip-steps=list = skip certain steps --only-steps=list = only do certain steps, not allowed with skip-steps + lists can be comma, colon, or space separated Default branch is HEAD. Usually only the --config option should be necessary. @@ -1057,6 +1058,8 @@ sub make_ecpg_check sub configure { + return unless step_wanted('configure'); + print time_str(),"creating configuration ...\n" if $verbose; my @quoted_opts; foreach my $c_opt (@$config_opts) -- 2.30.2