diff --git a/ci/lib.sh b/ci/lib.sh index ad013e8cbe..3c64db5952 100644 --- a/ci/lib.sh +++ b/ci/lib.sh @@ -17,7 +17,7 @@ export branch="${target_branch:-main}" clone_tests_repo() { if [ -d "$tests_repo_dir" ]; then - [ -n "$CI" ] && return + [ -n "${CI:-}" ] && return pushd "${tests_repo_dir}" git checkout "${branch}" git pull