summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2008-08-25 17:10:36 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2008-08-25 17:10:36 +0000
commitb3837e3a1b60b75085f58b75e4aadcfb9bbb9fca (patch)
treefec3dd38b8db8c9a79eac398c61ee4dbd3b28767 /eclass
parentadd ~x86, bug #235675 (diff)
downloadgentoo-2-b3837e3a1b60b75085f58b75e4aadcfb9bbb9fca.tar.gz
gentoo-2-b3837e3a1b60b75085f58b75e4aadcfb9bbb9fca.tar.bz2
gentoo-2-b3837e3a1b60b75085f58b75e4aadcfb9bbb9fca.zip
(#235629) Die if build succeeds but install fails.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/x-modular.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/x-modular.eclass b/eclass/x-modular.eclass
index 1a24aaa285ad..81cccf342882 100644
--- a/eclass/x-modular.eclass
+++ b/eclass/x-modular.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.101 2008/06/13 16:40:21 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.102 2008/08/25 17:10:36 dberkholz Exp $
#
# @ECLASS: x-modular.eclass
# @MAINTAINER:
@@ -395,7 +395,8 @@ x-modular_src_install() {
# Install everything to ${XDIR}
make \
DESTDIR="${D}" \
- install
+ install \
+ || die
# Shouldn't be necessary in XDIR=/usr
# einstall forces datadir, so we need to re-force it
# datadir=${XDIR}/share \