From afb591d990f83b995b39fb6231f46820cee74ddc Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Tue, 17 Oct 2017 22:29:31 +0700 Subject: [PATCH] Quote path --- scripts/e2e-ci.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/e2e-ci.sh b/scripts/e2e-ci.sh index f34b16d3c..a9f8dd9f5 100755 --- a/scripts/e2e-ci.sh +++ b/scripts/e2e-ci.sh @@ -4,20 +4,20 @@ set -e if [[ "${CIRCLE_BRANCH}" == "master" ]]; then # Test using browserstack. - REPORTS_FOLDER=$CIRCLE_TEST_REPORTS/chrome yarn e2e-browserstack -- --env chrome + REPORTS_FOLDER="$CIRCLE_TEST_REPORTS/chrome" yarn e2e-browserstack -- --env chrome sleep 2 - REPORTS_FOLDER=$CIRCLE_TEST_REPORTS/firefox yarn e2e-browserstack -- --env firefox + REPORTS_FOLDER="$CIRCLE_TEST_REPORTS/firefox" yarn e2e-browserstack -- --env firefox sleep 2 - REPORTS_FOLDER=$CIRCLE_TEST_REPORTS/safari yarn e2e-browserstack -- --env safari + REPORTS_FOLDER="$CIRCLE_TEST_REPORTS/safari" yarn e2e-browserstack -- --env safari sleep 2 - REPORTS_FOLDER=$CIRCLE_TEST_REPORTS/ie yarn e2e-browserstack -- --env ie + REPORTS_FOLDER="$CIRCLE_TEST_REPORTS/ie" yarn e2e-browserstack -- --env ie sleep 2 - REPORTS_FOLDER=$CIRCLE_TEST_REPORTS/edge yarn e2e-browserstack -- --env edge + REPORTS_FOLDER="$CIRCLE_TEST_REPORTS/edge" yarn e2e-browserstack -- --env edge else # When browserstack is not available test locally using chrome headless. - REPORTS_FOLDER=$CIRCLE_TEST_REPORTS/chrome yarn e2e -- --env chrome-headless + REPORTS_FOLDER="$CIRCLE_TEST_REPORTS/chrome" yarn e2e -- --env chrome-headless fi