This repository has been archived by the owner on Nov 17, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rabbitmq-components.mk: Improve top-level DEPS_DIR detection
In addition to the `rabbitmq-components.mk` existence check, we now verfy that the directory is named `deps`. This is to increase the chance that, if we find a `rabbitmq-componentS.mk` file in the upper directories, this project is indeed inside a DEPS_DIR. For instance, in our GitHub Actions workflows, when we prepared the secondary umbrellas for mixed-version testing, it happened that the secondary umbrellas were under a clone of rabbitmq-server. Therefore the first (and only) condition was met and the Makefile erroneously considered it was inside a DEPS_DIR. As a consequence, dependencies of the umbrellas were fetched in the wrong place. (cherry picked from commit 9740d03)
- Loading branch information