summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/python_pep517.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes-recipe/python_pep517.bbclass')
-rw-r--r--meta/classes-recipe/python_pep517.bbclass2
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 () {
42do_compile[cleandirs] += "${PEP517_WHEEL_PATH}" 42do_compile[cleandirs] += "${PEP517_WHEEL_PATH}"
43 43
44python_pep517_do_install () { 44python_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