eglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5

* gconv is directory so test -f was always false as reported by Phil Blundell in
  http://lists.linuxtogo.org/pipermail/openembedded-core/2011-August/008973.html
* -e used also for localedef which is file, just to be more consistent

(From OE-Core rev: feaf1bab56138cc1bc998a4201a60202a5b8cd28)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Martin Jansa 2011-08-26 13:41:18 +02:00 committed by Richard Purdie
parent 7d017c354a
commit e4ebecd065
3 changed files with 4 additions and 4 deletions

View File

@ -100,10 +100,10 @@ do_install_locale () {
if [ "${base_libdir}" != "${libdir}" ]; then
cp -fpPR ${D}${base_libdir}/* ${dest}${base_libdir}
fi
if [ -f ${D}${bindir}/localedef ]; then
if [ -e ${D}${bindir}/localedef ]; then
mv -f ${D}${bindir}/localedef ${dest}${bindir}
fi
if [ -f ${D}${libdir}/gconv ]; then
if [ -e ${D}${libdir}/gconv ]; then
mv -f ${D}${libdir}/gconv ${dest}${libdir}
fi
cp -fpPR ${D}${libdir}/* ${dest}${libdir}

View File

@ -1,7 +1,7 @@
require eglibc.inc
DEPENDS += "gperf-native"
PR = "r22"
PR = "r23"
SRCREV = "14158"

View File

@ -3,7 +3,7 @@ require eglibc.inc
SRCREV = "14157"
DEPENDS += "gperf-native"
PR = "r13"
PR = "r14"
PR_append = "+svnr${SRCPV}"
EGLIBC_BRANCH="eglibc-2_13"