summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dimov <pdimov@gmail.com>2019-03-04 03:54:32 +0200
committerPeter Dimov <pdimov@gmail.com>2019-03-04 03:54:32 +0200
commit203ed916bb29848aa9c51d46397b006c9fc22719 (patch)
tree3ca066ef6129d6a3e0f6f3ad88efb942f837ab6a
parente957ad2ae3a8dc938297632eb48d6151cc53e614 (diff)
downloadboost-203ed916bb29848aa9c51d46397b006c9fc22719.tar.gz
Replace array variable use with separate commands
-rw-r--r--.circleci/config.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index b263e7cfeb..db3dc0d360 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -10,4 +10,5 @@ jobs:
- run: wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_release.py" -P ${HOME}
- run: python ${HOME}/ci_boost_release.py checkout_post
- run: python ${HOME}/ci_boost_release.py dependencies_override
- - run: EOL_A=(LF CRLF) EOL=${EOL_A[$CIRCLE_NODE_INDEX]} python ${HOME}/ci_boost_release.py test_override
+ - run: [ "$CIRCLE_NODE_INDEX" == "0" ] && EOL=LF python ${HOME}/ci_boost_release.py test_override
+ - run: [ "$CIRCLE_NODE_INDEX" == "1" ] && EOL=CRLF python ${HOME}/ci_boost_release.py test_override