summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-05-26 08:14:36 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-05-26 08:15:08 +0200
commit33ea07942cd82b49744f0f50053c251edd2bdac2 (patch)
treedad4a1b5120741052df40b7740dc14671f96edb8
parente61cadf1c1cfd07767cbdbbdf0fd5aa20e164c02 (diff)
downloadptxdist-33ea07942cd82b49744f0f50053c251edd2bdac2.tar.gz
ptxdist-33ea07942cd82b49744f0f50053c251edd2bdac2.tar.xz
python3-ptyprocess: use install_glob
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/python3-ptyprocess.make7
1 files changed, 2 insertions, 5 deletions
diff --git a/rules/python3-ptyprocess.make b/rules/python3-ptyprocess.make
index 3b01a48f9..0e03048a1 100644
--- a/rules/python3-ptyprocess.make
+++ b/rules/python3-ptyprocess.make
@@ -44,11 +44,8 @@ $(STATEDIR)/python3-ptyprocess.targetinstall:
@$(call install_fixup, python3-ptyprocess, AUTHOR, "Florian Scherf <f.scherf@pengutronix.de>")
@$(call install_fixup, python3-ptyprocess, DESCRIPTION, missing)
- @for file in `find $(PYTHON3_PTYPROCESS_PKGDIR)/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/ptyprocess \
- ! -type d ! -name "*.py" -printf "%P\n"`; do \
- $(call install_copy, python3-ptyprocess, 0, 0, 0644, -, \
- /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/ptyprocess/$$file); \
- done
+ @$(call install_glob, python3-ptyprocess, 0, 0, -, \
+ /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/ptyprocess,, *.py)
@$(call install_finish, python3-ptyprocess)