summaryrefslogtreecommitdiffstats
path: root/rules/python3-pexpect.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/python3-pexpect.make')
-rw-r--r--rules/python3-pexpect.make7
1 files changed, 2 insertions, 5 deletions
diff --git a/rules/python3-pexpect.make b/rules/python3-pexpect.make
index 31c1c1d73..893697d16 100644
--- a/rules/python3-pexpect.make
+++ b/rules/python3-pexpect.make
@@ -44,11 +44,8 @@ $(STATEDIR)/python3-pexpect.targetinstall:
@$(call install_fixup, python3-pexpect, AUTHOR, "Florian Scherf <f.scherf@pengutronix.de>")
@$(call install_fixup, python3-pexpect, DESCRIPTION, missing)
- @for file in `find $(PYTHON3_PEXPECT_PKGDIR)/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/pexpect \
- ! -type d ! -name "*.py" -printf "%P\n"`; do \
- $(call install_copy, python3-pexpect, 0, 0, 0644, -, \
- /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/pexpect/$$file); \
- done
+ @$(call install_glob, python3-pexpect, 0, 0, -, \
+ /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/pexpect,, *.py)
@$(call install_finish, python3-pexpect)