summaryrefslogtreecommitdiff
path: root/recipes/eglibc/eglibc-package.bbclass
diff options
context:
space:
mode:
authorMarc Olzheim <zlo@zlo.nu>2009-08-10 13:53:39 -0700
committerKhem Raj <raj.khem@gmail.com>2009-08-10 13:53:39 -0700
commit19a190ca2bedf9a8d017f3c5fb163d51d0b3a828 (patch)
treeb3fa017953be18c7bec5595ac8095e5407f8b6fc /recipes/eglibc/eglibc-package.bbclass
parent68233bb284d82040087b7d265ad3ad93c0cab475 (diff)
eglibc-package.bbclass glibc-package.bbclass: Use ls -d in do_prep_locale_tree
ls -d will list directories as plain files and then cp -R will copy the contents over. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/eglibc/eglibc-package.bbclass')
-rw-r--r--recipes/eglibc/eglibc-package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/eglibc/eglibc-package.bbclass b/recipes/eglibc/eglibc-package.bbclass
index 7843d9f668..ac8a7fe000 100644
--- a/recipes/eglibc/eglibc-package.bbclass
+++ b/recipes/eglibc/eglibc-package.bbclass
@@ -152,7 +152,7 @@ do_prep_locale_tree() {
for i in $treedir/${datadir}/i18n/charmaps/*gz; do
gunzip $i
done
- ls ${D}${base_libdir}/* | xargs -iBLAH cp -pPR BLAH $treedir/lib
+ ls -d ${D}${base_libdir}/* | xargs -iBLAH cp -pPR BLAH $treedir/lib
if [ -f ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.* ]; then
cp -pPR ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.* $treedir/lib
fi