Limit the depth for finding modules in module directory

This commit is contained in:
Cédric Krier
2025-06-28 16:22:27 +02:00
parent d3ca288917
commit b7d96280bc
+1 -1
View File
@@ -3,7 +3,7 @@ set -eu
OUTPUT=${1:-`mktemp -d`}
find modules -name setup.py -print | while read path
find modules -maxdepth 2 -name setup.py -print | while read path
do
path=`dirname "${path}"`
module=`basename "${path}"`