[PATCH 4/6] aiaiai-email-test-patchset: move -- to end of all options

Jacob Keller jacob.e.keller at intel.com
Mon Mar 10 16:46:12 PDT 2014


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 at intel.com>
---
 email/aiaiai-email-test-patchset | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/email/aiaiai-email-test-patchset b/email/aiaiai-email-test-patchset
index f3409139c77b..a9ff7ec446ca 100755
--- a/email/aiaiai-email-test-patchset
+++ b/email/aiaiai-email-test-patchset
@@ -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"
-- 
1.8.3.1




More information about the aiaiai mailing list