[Buildroot] [PATCH v2] infra: fix autotools .la fixing when no .la files are present
Peter Korsgaard
jacmet at uclibc.org
Sun Jul 6 20:22:37 UTC 2014
>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin at gmail.com> writes:
> Commit 6f638ea9c9c7bacc646430a74ad3dd2740eae676 ("infra: /usr support:
> STAGING_DIR can be outside BASE_DIR") changed a for-construct around 'sed
> -i' in a 'find | xargs sed -i'. However, if the find returns no results,
> sed complains with:
> '/bin/sed: no input files'
> This commit adds the extra parameter -r / --no-run-if-empty to the xargs
> call, effectively fixing this problem case.
> Reported-by: Rohit Kumar <rkthebest at gmail.com>
> Fix-suggested-by: Yann E. MORIN <yann.morin.1998 at free.fr>
> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list