From 502867b7f71536087ac3294ccba07391060f0146 Mon Sep 17 00:00:00 2001 From: Jacob Keller Date: Mon, 10 Mar 2014 16:46:11 -0700 Subject: [PATCH] aiaiai-email-test-patchset: fix parameter substitution The targets parameter was incorrectly failing to add the --targets, because the substitution did not have a +. This patch corrects the parameter substitution so that the targets will correctly include the required option for use with aiaiai-test-patchset directly. Signed-off-by: Jacob Keller Signed-off-by: Artem Bityutskiy --- email/aiaiai-email-test-patchset | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/email/aiaiai-email-test-patchset b/email/aiaiai-email-test-patchset index a55b481..f340913 100755 --- a/email/aiaiai-email-test-patchset +++ b/email/aiaiai-email-test-patchset @@ -313,7 +313,7 @@ fi # Test the path (or patch-set) verbose "Test configs \"$pcfg_configs\" branch \"$pcfg_branch\" of \"$pcfg_path\"" aiaiai-test-patchset $verbose $preserve \ - ${pcfg_targets:--targets "$pcfg_targets"} $bisectability $sparse $smatch $cppcheck $coccinelle \ + ${pcfg_targets:+--targets "$pcfg_targets"} $bisectability $sparse $smatch $cppcheck $coccinelle \ -i "$mbox" -j "$cfg_jobs" -c "$pcfg_branch" -w "$tmpdir" \ ${pcfg_defconfigdir:+-C "$pcfg_defconfigdir"} \ ${pcfg_unwanted_keywords:+-K "$pcfg_unwanted_keywords"} -- \ -- 2.49.0