diff --git a/.ci/build.sh b/.ci/build.sh index 4bf50d1f50..c109c37efe 100755 --- a/.ci/build.sh +++ b/.ci/build.sh @@ -93,7 +93,7 @@ echo "$REPOS" | while IFS= read -r REPO; do echo "$0: cloning '$URL --depth 1 --branch $BRANCH' into '$PACKAGE'" git clone $URL --recurse-submodules --shallow-submodules --depth 1 --branch $BRANCH $PACKAGE - if [[ "$GITMAN" != "True" ]]; then + if [[ "$GITMAN" == "True" ]]; then cd $PACKAGE [[ -e .gitman.yml || -e .gitman.yaml ]] && gitman install fi diff --git a/.ci/build_for_testing.sh b/.ci/build_for_testing.sh index e7622e0e1d..e70f06641a 100755 --- a/.ci/build_for_testing.sh +++ b/.ci/build_for_testing.sh @@ -79,7 +79,7 @@ echo "$FULL_COVERAGE_REPOS" | while IFS= read -r REPO; do echo "$0: cloning '$URL --depth 1 --branch $BRANCH' into '$PACKAGE'" git clone $URL --recurse-submodules --shallow-submodules --depth 1 --branch $BRANCH $PACKAGE - if [[ "$GITMAN" != "True" ]]; then + if [[ "$GITMAN" == "True" ]]; then cd $PACKAGE [[ -e .gitman.yml || -e .gitman.yaml ]] && gitman install fi diff --git a/.ci/build_nonbloom.sh b/.ci/build_nonbloom.sh index fb9df6c607..883c1b2208 100755 --- a/.ci/build_nonbloom.sh +++ b/.ci/build_nonbloom.sh @@ -39,7 +39,7 @@ git clone $URL --recurse-submodules --branch $BRANCH $PACKAGE cd $WORK_DIR/$PACKAGE/ -if [[ "$GITMAN" != "True" ]]; then +if [[ "$GITMAN" == "True" ]]; then [[ -e .gitman.yml || -e .gitman.yaml ]] && gitman install fi diff --git a/.ci/test.sh b/.ci/test.sh index 8f8fa1df77..f14c59189e 100755 --- a/.ci/test.sh +++ b/.ci/test.sh @@ -77,7 +77,7 @@ echo "$THIS_TEST_REPOS" | while IFS= read -r REPO; do [ ! -e ${PACKAGE} ] && echo "$0: cloning '$URL --depth 1 --branch $BRANCH' into '$PACKAGE'" || echo "$0: not cloning, already there" [ ! -e ${PACKAGE} ] && git clone $URL --recurse-submodules --shallow-submodules --depth 1 --branch $BRANCH $PACKAGE || echo "$0: not cloning, already there" - if [[ "$GITMAN" != "True" ]]; then + if [[ "$GITMAN" == "True" ]]; then cd $PACKAGE [[ -e .gitman.yml || -e .gitman.yaml ]] && gitman install || echo "no gitman modules to install" fi