sys-boot/raspberrypi-firmware: die if cd fails
authorAndrey Utkin <andrey_utkin@gentoo.org>
Sun, 24 Mar 2019 18:52:30 +0000 (18:52 +0000)
committerAndrey Utkin <andrey_utkin@gentoo.org>
Sun, 24 Mar 2019 19:17:43 +0000 (19:17 +0000)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org>
sys-boot/raspberrypi-firmware/raspberrypi-firmware-9999.ebuild

index 16e3ddf2e8b24e819c91124b88d7c336821488b0..5eaa396afd0b054630c0f83df0a3f7d008dc9517 100644 (file)
@@ -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