Our new directory structure is deeper, so expand this search.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2020-08-05 16:19:29 -05:00
parent 9e9868bd16
commit af656d4b02

View File

@ -30,7 +30,7 @@ function with_modules() {
cmd="$(${cmd_function})" cmd="$(${cmd_function})"
pushd "${root_dir}" pushd "${root_dir}"
for mod_file in $(find . -maxdepth 3 -name go.mod); do for mod_file in $(find . -maxdepth 4 -name go.mod); do
mod_dir="$(dirname "${mod_file}")" mod_dir="$(dirname "${mod_file}")"
( (
echo "=> " && \ echo "=> " && \