[pyferret] 70/110: Fix errors on find deleting __pycache__

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Jul 28 08:42:12 UTC 2017


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch debian/master
in repository pyferret.

commit baf9329533e1b61055ccf08e23d9858d7b04b7cc
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Sat Aug 13 21:57:35 2016 +0100

    Fix errors on find deleting __pycache__
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 3f46690..4878f6d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,8 +32,8 @@ override_dh_auto_install:
 	for p in $(PY2VERS) $(PY3VERS) ; do \
 		$(MAKE) HOSTTYPE=debian PYTHON_EXE=$$p clean all install ; \
 		done
-	find debian -name '__pycache__' -exec rm -rf {} \; 
 	find debian -name '*.pyo' -o -name '*.pyc' -delete
+	find debiab -type d -name __pycache__ -delete
 	# libpyferret.so needs a link because its linked by externally loaded modules
 	# FIXME: How to cope when there are two versions?
 	dh_link -p python-ferret /usr/lib/python2.7/dist-packages/pyferret/libpyferret.$(ARCH).so $(LIBDIR)/libpyferret.so

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyferret.git



More information about the debian-science-commits mailing list