diff --git a/ci/run-docker.sh b/ci/run-docker.sh index a4a34be6b4f4a..4cef3d45c504d 100755 --- a/ci/run-docker.sh +++ b/ci/run-docker.sh @@ -89,13 +89,13 @@ build_switch() { } if [ -z "${1}" ]; then - for d in ci/docker/*; do - run "${d}" - done + for d in ci/docker/*; do + run "${d}" + done else - if [ "${1}" != "switch" ]; then - run "${1}" - else - build_switch - fi + if [ "${1}" != "switch" ]; then + run "${1}" + else + build_switch + fi fi