[Buildroot] [PATCH v4 1/4] python/python3: use --no-run-if-empty xargs option

Samuel Martin s.martin49 at gmail.com
Tue May 17 21:36:47 UTC 2016


Thomas, all,

On Tue, May 17, 2016 at 11:19 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> 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 at free-electrons.com>
Reviewed-by: Samuel Martin <s.martin49 at gmail.com>

Regards,

-- 
Samuel



More information about the buildroot mailing list