summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc-package.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/glibc/glibc-package.inc')
-rw-r--r--meta/recipes-core/glibc/glibc-package.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc
index 9ea41b7b54..a98ae1a29c 100644
--- a/meta/recipes-core/glibc/glibc-package.inc
+++ b/meta/recipes-core/glibc/glibc-package.inc
@@ -207,10 +207,11 @@ do_poststash_install_cleanup () {
207 rm -rf ${D}/${localedir} 207 rm -rf ${D}/${localedir}
208 rm -rf ${D}${datadir}/locale 208 rm -rf ${D}${datadir}/locale
209 if [ "${libdir}" != "${exec_prefix}/lib" ]; then 209 if [ "${libdir}" != "${exec_prefix}/lib" ]; then
210 if [ -d ${D}${exec_prefix}/lib/locale ] ; then 210 if [ -d ${D}${exec_prefix}/lib ]; then
211 rm -rf ${D}${exec_prefix}/lib/locale
212 # error out if directory isn't empty 211 # error out if directory isn't empty
213 rm -f ${D}${exec_prefix}/lib 212 # this dir should only contain locale dir
213 # which has been deleted in the previous step
214 rmdir ${D}${exec_prefix}/lib
214 fi 215 fi
215 fi 216 fi
216} 217}