diff --git a/.gitlab-ci/setup-test-env.sh b/.gitlab-ci/setup-test-env.sh index 7861105f6b6..b8caef839c1 100755 --- a/.gitlab-ci/setup-test-env.sh +++ b/.gitlab-ci/setup-test-env.sh @@ -131,8 +131,8 @@ export -f _error_msg if [ -z "${RESULTS_DIR:-}" ]; then export RESULTS_DIR="${PWD%/}/results" rm -rf "${RESULTS_DIR}" - mkdir -p "${RESULTS_DIR}" fi +mkdir -p "${RESULTS_DIR}" function error { # we force the following to be not in a section