From cb172e15857721836d38c556a05b78ddc8a346c0 Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Mon, 23 Apr 2007 19:45:06 +0000 Subject: Add || die after emake. (Portage version: 2.1.2.4) --- sys-power/powerman/ChangeLog | 7 +++++-- sys-power/powerman/powerman-1.0.20.ebuild | 13 ++++++++----- 2 files changed, 13 insertions(+), 7 deletions(-) (limited to 'sys-power/powerman') diff --git a/sys-power/powerman/ChangeLog b/sys-power/powerman/ChangeLog index 91a1e004c28d..b1cbb6b6e9a6 100644 --- a/sys-power/powerman/ChangeLog +++ b/sys-power/powerman/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-power/powerman -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/ChangeLog,v 1.1 2006/10/01 21:42:34 robbat2 Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/ChangeLog,v 1.2 2007/04/23 19:45:06 swegener Exp $ + + 23 Apr 2007; Sven Wegener powerman-1.0.20.ebuild: + Add || die after emake. *powerman-1.0.20 (01 Oct 2006) diff --git a/sys-power/powerman/powerman-1.0.20.ebuild b/sys-power/powerman/powerman-1.0.20.ebuild index 72b46f8286cc..6bacc1903ba7 100644 --- a/sys-power/powerman/powerman-1.0.20.ebuild +++ b/sys-power/powerman/powerman-1.0.20.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/powerman-1.0.20.ebuild,v 1.1 2006/10/01 21:42:34 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/powerman-1.0.20.ebuild,v 1.2 2007/04/23 19:45:06 swegener Exp $ inherit eutils @@ -29,12 +29,15 @@ src_unpack() { } src_compile() { - emake + emake || die "emake failed" } src_install() { - emake -j1 install DESTDIR="${D}" mandir="/usr/share/man" - rm ${D}/etc/rc.d/init.d/powerman + emake -j1 install \ + DESTDIR="${D}" \ + mandir="/usr/share/man" \ + || die "emake install failed" + rm "${D}"/etc/rc.d/init.d/powerman newdoc scripts/powerman.init powerman_redhat_initd dodoc ChangeLog DISCLAIMER NEWS TODO } -- cgit v1.2.3-65-gdbad