]> www.infradead.org Git - users/dedekind/aiaiai.git/commitdiff
aiaiai-email-test-patchset: fix parameter substitution
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 10 Mar 2014 23:46:11 +0000 (16:46 -0700)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 11 Mar 2014 07:59:39 +0000 (09:59 +0200)
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 <jacob.e.keller@intel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
email/aiaiai-email-test-patchset

index a55b4810db07238cf9e14b968b62375a0401af51..f3409139c77b5f7c43586e28f14d9cc26bf4f515 100755 (executable)
@@ -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"} -- \