[Reproducible-builds] [dh-python] 60/183: dh_pypy: pass --no-run-if-empty to xargs
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Sep 19 15:30:20 UTC 2014
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/reproducible_builds
in repository dh-python.
commit eb15737b21e17eaf2285f89e7dd5b2b06c81112e
Author: Piotr Ożarowski <piotr at debian.org>
Date: Wed Aug 7 18:24:17 2013 +0200
dh_pypy: pass --no-run-if-empty to xargs
---
autoscripts/prerm-pypyclean | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/autoscripts/prerm-pypyclean b/autoscripts/prerm-pypyclean
index 331a061..b3d187c 100644
--- a/autoscripts/prerm-pypyclean
+++ b/autoscripts/prerm-pypyclean
@@ -1,6 +1,6 @@
if which pypyclean >/dev/null 2>&1; then
pypyclean -p #PACKAGE# #ARGS#
else
- dpkg -L #PACKAGE# | grep '\.py$' | sed -r 's,/([^/]*).py$,/__pycache__/\1\.pyc,' | xargs rm
- find /usr/lib/pypy/dist-packages/ -type d -name __pycache__ -empty | xargs rmdir
+ dpkg -L #PACKAGE# | grep '\.py$' | sed -r 's,/([^/]*).py$,/__pycache__/\1\.pyc,' | xargs --no-run-if-empty rm
+ find /usr/lib/pypy/dist-packages/ -type d -name __pycache__ -empty | xargs --no-run-if-empty rmdir
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dh-python.git
More information about the Reproducible-builds
mailing list