summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-11-02 16:38:46 +0000
committerMike Frysinger <vapier@gentoo.org>2012-11-02 16:38:46 +0000
commitd73bdf870607864de4b3d41158ac901e53569239 (patch)
treefde894f82b998b99a7a49620ce6786633204968e /eclass/emul-linux-x86.eclass
parentOld. (diff)
downloadhistorical-d73bdf870607864de4b3d41158ac901e53569239.tar.gz
historical-d73bdf870607864de4b3d41158ac901e53569239.tar.bz2
historical-d73bdf870607864de4b3d41158ac901e53569239.zip
do not try to move /lib32 if it does not exist #429726
Diffstat (limited to 'eclass/emul-linux-x86.eclass')
-rw-r--r--eclass/emul-linux-x86.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/emul-linux-x86.eclass b/eclass/emul-linux-x86.eclass
index ce007096628a..cbb741b7deb5 100644
--- a/eclass/emul-linux-x86.eclass
+++ b/eclass/emul-linux-x86.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/emul-linux-x86.eclass,v 1.13 2012/10/28 09:43:49 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/emul-linux-x86.eclass,v 1.14 2012/11/02 16:38:46 vapier Exp $
#
# Original Author: Mike Doty <kingtaco@gentoo.org>
@@ -82,6 +82,8 @@ emul-linux-x86_src_install() {
if [[ ${x86_libdir} != "lib32" ]] ; then
ewarn "Moving lib32/ to ${x86_libdir}/; some libs might not work"
mv "${D}"/usr/lib32 "${D}"/usr/${x86_libdir} || die
- mv "${D}"/lib32 "${D}"/${x86_libdir} || die
+ if [[ -d ${D}/lib32 ]] ; then
+ mv "${D}"/lib32 "${D}"/${x86_libdir} || die
+ fi
fi
}