From 71d06996481c6187b016c3b14b7e9faaf8adc432 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 15 Aug 2013 20:14:44 +0200 Subject: dh_install, dh_installdocs, dh_clean: Fix uses of find -exec which cause it to ignore exit status of the commands run. --- Debian/Debhelper/Buildsystem/python_distutils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Debian/Debhelper/Buildsystem/python_distutils.pm') diff --git a/Debian/Debhelper/Buildsystem/python_distutils.pm b/Debian/Debhelper/Buildsystem/python_distutils.pm index 4795b7c3..c3d58cc0 100644 --- a/Debian/Debhelper/Buildsystem/python_distutils.pm +++ b/Debian/Debhelper/Buildsystem/python_distutils.pm @@ -204,7 +204,7 @@ sub clean { } # The setup.py might import files, leading to python creating pyc # files. - $this->doit_in_sourcedir('find', '.', '-name', '*.pyc', '-exec', 'rm', '{}', ';'); + $this->doit_in_sourcedir('find', '.', '-name', '*.pyc', '-exec', 'rm', '{}', '+'); } 1 -- cgit v1.2.3