From dfe5dbf76d99bb6b2987dc453dfeb41f136607be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krisztia=CC=81n=20Go=CC=88drei?= Date: Mon, 7 Dec 2015 11:39:39 +0100 Subject: [PATCH 1/2] white space fix --- step.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/step.sh b/step.sh index 0474d3a..0425e2d 100644 --- a/step.sh +++ b/step.sh @@ -75,15 +75,13 @@ if [ ! -z "${workdir}" ] ; then cd "${workdir}" fi -clean_build_param='' -if [[ "${is_clean_build}" == "yes" ]] ; then - clean_build_param='clean' -fi - analyze_cmd="xcodebuild ${CONFIG_xcode_project_action} \"${project_path}\"" analyze_cmd="$analyze_cmd -scheme \"${scheme}\"" -analyze_cmd="$analyze_cmd ${clean_build_param} analyze" +if [[ "${is_clean_build}" == "yes" ]] ; then + analyze_cmd="$analyze_cmd clean" +fi +analyze_cmd="$analyze_cmd analyze" if [[ "${is_force_code_sign}" == "yes" ]] ; then echo " (!) Using Force Code Signing mode!" @@ -99,7 +97,7 @@ fi echo echo echo "=> Analyze command:" -echo '$' $analyze_cmd +echo "'$' $analyze_cmd" echo eval $analyze_cmd From 3057c1defb97b90b59c89c8f80bf9657bf10a9e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krisztia=CC=81n=20Go=CC=88drei?= Date: Mon, 7 Dec 2015 13:11:56 +0100 Subject: [PATCH 2/2] PR fix --- step.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/step.sh b/step.sh index 0425e2d..8329e5b 100644 --- a/step.sh +++ b/step.sh @@ -97,7 +97,7 @@ fi echo echo echo "=> Analyze command:" -echo "'$' $analyze_cmd" +echo '$' $analyze_cmd echo eval $analyze_cmd