This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch inserted_src in repository toolchain/semiautobench.
The following commit(s) were added to refs/heads/inserted_src by this push: new 9961711 Handle parameters from YAML that might be 'None' 9961711 is described below
commit 996171177787ed2f9b466dca66124c9e6c022ede Author: Bernard Ogden bernie.ogden@linaro.org Date: Mon Jul 13 16:46:30 2015 +0200
Handle parameters from YAML that might be 'None'
Change-Id: Ief346fd13f1b6da143f6efb7461590a27276986b --- invoke_session_debian | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/invoke_session_debian b/invoke_session_debian index 9c6986f..b225c77 100755 --- a/invoke_session_debian +++ b/invoke_session_debian @@ -15,8 +15,16 @@ abe_branch="$2" export benchmark="$3" export toolchain="$4" export targets="$5" -export run_flags="$6" -export compiler_flags="$7" +if test x"$6" = xNone; then + export run_flags= +else + export run_flags="$6" +fi +if test x"$7" = xNone; then + export compiler_flags= +else + export compiler_flags="$7" +fi echo "Target's Gateway: $gateway"
env