diff options
Diffstat (limited to 'meta/classes-recipe/python_pep517.bbclass')
-rw-r--r-- | meta/classes-recipe/python_pep517.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/python_pep517.bbclass b/meta/classes-recipe/python_pep517.bbclass index a1659c5f62..c30674c8ec 100644 --- a/meta/classes-recipe/python_pep517.bbclass +++ b/meta/classes-recipe/python_pep517.bbclass | |||
@@ -42,7 +42,7 @@ python_pep517_do_compile () { | |||
42 | do_compile[cleandirs] += "${PEP517_WHEEL_PATH}" | 42 | do_compile[cleandirs] += "${PEP517_WHEEL_PATH}" |
43 | 43 | ||
44 | python_pep517_do_install () { | 44 | python_pep517_do_install () { |
45 | COUNT=$(find ${PEP517_WHEEL_PATH} -name '*.whl' | wc -l) | 45 | COUNT=$(find ${PEP517_WHEEL_PATH} -name '*.whl' -maxdepth 1 | wc -l) |
46 | if test $COUNT -eq 0; then | 46 | if test $COUNT -eq 0; then |
47 | bbfatal No wheels found in ${PEP517_WHEEL_PATH} | 47 | bbfatal No wheels found in ${PEP517_WHEEL_PATH} |
48 | elif test $COUNT -gt 1; then | 48 | elif test $COUNT -gt 1; then |