From 46635eb571ae240cfdf250e8e8f010703b5cbe33 Mon Sep 17 00:00:00 2001 From: Markus Rothe Date: Fri, 23 May 2008 07:07:04 +0000 Subject: Fix variable quoting "${WORKDIR}/*" is not equal to "${WORKDIR}"/*. Add some die traps to the mv and cp commands. The current ebuild didn't install anything... (Portage version: 2.1.4.4) --- sys-boot/yaboot-static/ChangeLog | 8 +++++++- sys-boot/yaboot-static/yaboot-static-1.3.14.ebuild | 7 ++++--- 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'sys-boot/yaboot-static') diff --git a/sys-boot/yaboot-static/ChangeLog b/sys-boot/yaboot-static/ChangeLog index f0887cb03782..6ad85ec0e30e 100644 --- a/sys-boot/yaboot-static/ChangeLog +++ b/sys-boot/yaboot-static/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-boot/yaboot-static # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot-static/ChangeLog,v 1.19 2008/05/13 23:41:15 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot-static/ChangeLog,v 1.20 2008/05/23 07:07:04 corsair Exp $ + + 23 May 2008; Markus Rothe + yaboot-static-1.3.14.ebuild: + Fix variable quoting: "${WORKDIR}/*" is not equal to "${WORKDIR}"/*. Add + some die traps to the mv and cp commands. The current ebuild didn't install + anything... 13 May 2008; Joseph Jezak -files/ofpath_device-tree_check.patch, -yaboot-static-1.3.12.ebuild, diff --git a/sys-boot/yaboot-static/yaboot-static-1.3.14.ebuild b/sys-boot/yaboot-static/yaboot-static-1.3.14.ebuild index ee0ed79dcfbe..a4f6a081b081 100644 --- a/sys-boot/yaboot-static/yaboot-static-1.3.14.ebuild +++ b/sys-boot/yaboot-static/yaboot-static-1.3.14.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot-static/yaboot-static-1.3.14.ebuild,v 1.3 2008/05/13 23:41:15 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot-static/yaboot-static-1.3.14.ebuild,v 1.4 2008/05/23 07:07:04 corsair Exp $ inherit eutils @@ -21,6 +21,7 @@ PROVIDE="virtual/bootloader" src_install() { # don't blow away the user's old conf file - mv "${WORKDIR}/etc/yaboot.conf" "${WORKDIR}/etc/yaboot.conf.unconfigured" - cp -pPR "${WORKDIR}/*" "${D}/" + mv "${WORKDIR}/etc/yaboot.conf" "${WORKDIR}/etc/yaboot.conf.unconfigured" \ + || die "mv failed" + cp -pPR "${WORKDIR}"/* "${D}" || die "cp failed" } -- cgit v1.2.3-65-gdbad