diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-11-02 16:38:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-11-02 16:38:46 +0000 |
commit | 5fc57875053845ab122a070bbe367877c1e55b9a (patch) | |
tree | ba15cef1fb0955a2914b718895dd34cfce060b75 /eclass/emul-linux-x86.eclass | |
parent | Old. (diff) | |
download | gentoo-2-5fc57875053845ab122a070bbe367877c1e55b9a.tar.gz gentoo-2-5fc57875053845ab122a070bbe367877c1e55b9a.tar.bz2 gentoo-2-5fc57875053845ab122a070bbe367877c1e55b9a.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.eclass | 6 |
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 } |