diff options
author | Thomas De Schampheleire <patrickdepinguin@gmail.com> | 2014-07-06 17:10:51 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-07-06 22:22:52 +0200 |
commit | 18a0e073507e03eaba80c25017f9f28bd830a48a (patch) | |
tree | d5efca5b8b41d48fdffc8b69352838af65052294 /package/python | |
parent | e3ce2eb0e2ae70a21eacbba2421e0cbe49c8eb96 (diff) | |
download | buildroot-18a0e073507e03eaba80c25017f9f28bd830a48a.tar.gz buildroot-18a0e073507e03eaba80c25017f9f28bd830a48a.zip |
infra: fix autotools .la fixing when no .la files are present
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@gmail.com>
Fix-suggested-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python')
0 files changed, 0 insertions, 0 deletions