summaryrefslogtreecommitdiff
path: root/resources/scripts/download/coreboot
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-15 02:51:15 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-15 02:51:15 +0100
commitc17423e475802da6919edbabaad894117ae4b7e8 (patch)
tree4c51bd0406860f3d3cc9c55098a7c08d13dc27ee /resources/scripts/download/coreboot
parent00cafd7022045f123dbf433a4b2cdac7699ec585 (diff)
download/coreboot: simplify check
Diffstat (limited to 'resources/scripts/download/coreboot')
-rwxr-xr-xresources/scripts/download/coreboot7
1 files changed, 2 insertions, 5 deletions
diff --git a/resources/scripts/download/coreboot b/resources/scripts/download/coreboot
index 8b64b767..88692e53 100755
--- a/resources/scripts/download/coreboot
+++ b/resources/scripts/download/coreboot
@@ -89,11 +89,8 @@ download_coreboot_for_board()
return 0
fi
- [ ! -d coreboot ] && \
- mkdir "coreboot/"
- [ ! -d coreboot ] && \
- printf "ERROR: download/coreboot: directory not created\n" && \
- return 1
+ [ ! -d coreboot ] && mkdir "coreboot/"
+ [ ! -d coreboot ] && return 1
cd "coreboot/"