diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-05-17 23:19:13 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-05-26 22:07:11 +0200 |
commit | f06f58f8fd443968942e100e3c70a29248b2f368 (patch) | |
tree | 081650694c71eec144e6431b85d576b24feff434 /package/python-pyftpdlib/python-pyftpdlib.hash | |
parent | 7c7fe54ec2a3247f0e3a8fb8080dde06691c8fc9 (diff) | |
download | buildroot-f06f58f8fd443968942e100e3c70a29248b2f368.tar.gz buildroot-f06f58f8fd443968942e100e3c70a29248b2f368.zip |
python/python3: use --no-run-if-empty xargs option
As suggested by Samuel Martin, this commit adds the option
--no-run-if-empty xargs option to the "find ... | xargs ..." logic used
in the python and python3 target-finalize hooks to remove py/pyc/pyo
files. This ensures that the command doesn't fail if there are no files
matching the pattern.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-pyftpdlib/python-pyftpdlib.hash')
0 files changed, 0 insertions, 0 deletions