summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-05-26 08:14:34 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-05-26 08:15:08 +0200
commitf07e23001102900f8ff946848221c6654f5292b5 (patch)
tree865c17a90904f7106ab8c75ade7a0ae391bca532
parentec71140a8f9ecc8586aab8d719bdc1a66504f00e (diff)
downloadptxdist-f07e23001102900f8ff946848221c6654f5292b5.tar.gz
ptxdist-f07e23001102900f8ff946848221c6654f5292b5.tar.xz
python3-aiohttp: use install_glob
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/python3-aiohttp.make7
1 files changed, 2 insertions, 5 deletions
diff --git a/rules/python3-aiohttp.make b/rules/python3-aiohttp.make
index 49412de6c..405309e2d 100644
--- a/rules/python3-aiohttp.make
+++ b/rules/python3-aiohttp.make
@@ -44,11 +44,8 @@ $(STATEDIR)/python3-aiohttp.targetinstall:
@$(call install_fixup, python3-aiohttp,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
@$(call install_fixup, python3-aiohttp,DESCRIPTION,missing)
- @for file in `find $(PYTHON3_AIOHTTP_PKGDIR)/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/aiohttp \
- ! -type d ! -name "*.py" -printf "%P\n"`; do \
- $(call install_copy, python3-aiohttp, 0, 0, 0644, -, \
- /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/aiohttp/$$file); \
- done
+ @$(call install_glob, python3-aiohttp, 0, 0, -, \
+ /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/aiohttp,, *.py)
@$(call install_finish, python3-aiohttp)