From 33ea07942cd82b49744f0f50053c251edd2bdac2 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Thu, 26 May 2016 08:14:36 +0200 Subject: python3-ptyprocess: use install_glob Signed-off-by: Michael Olbrich --- rules/python3-ptyprocess.make | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'rules') 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 ") @$(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) -- cgit v1.2.3