commit:     d8291d9a56705a22eae1c8bcf71bd3d77fae3914
Author:     Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 18:52:30 2019 +0000
Commit:     Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 19:17:43 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8291d9a

sys-boot/raspberrypi-firmware: die if cd fails

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org>

 sys-boot/raspberrypi-firmware/raspberrypi-firmware-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-9999.ebuild 
b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-9999.ebuild
index 16e3ddf2e8b..5eaa396afd0 100644
--- a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-9999.ebuild
+++ b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-9999.ebuild
@@ -43,7 +43,7 @@ pkg_preinst() {
 
 src_install() {
        insinto /boot
-       cd boot
+       cd boot || die
        doins bootcode.bin fixup*.dat start*elf
        doins *.dtb
        doins -r overlays

Reply via email to