]> www.infradead.org Git - users/dedekind/aiaiai.git/commitdiff
aiaiai-email-test-patchset: move -- to end of all options
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 10 Mar 2014 23:46:12 +0000 (16:46 -0700)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 11 Mar 2014 07:59:39 +0000 (09:59 +0200)
A previous patch added kmake_opts to the configuration file, and when
passing this into aiaiai-test-patchset, the -- field which ends option
scanning was not correctly moved to the end of the options arguments.
This would result in incorrect behavior if anyone tried to use this
option.

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 f3409139c77b5f7c43586e28f14d9cc26bf4f515..a9ff7ec446ca5b51d9ca974c19fe171dc8f1440f 100755 (executable)
@@ -316,8 +316,8 @@ aiaiai-test-patchset $verbose $preserve \
        ${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"} -- \
-       ${pcfg_kmake_opts:+-M "$pcfg_kmake_opts"} \
+       ${pcfg_unwanted_keywords:+-K "$pcfg_unwanted_keywords"} \
+       ${pcfg_kmake_opts:+-M "$pcfg_kmake_opts"} -- \
        "$pcfg_path" "$pcfg_configs" > "$tmpdir/test-patchset.log" ||
 {
        verbose "aiaiai-test-patchset failed"