diff options
author | Leah Rowe <leah@libreboot.org> | 2023-05-15 02:51:15 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-05-15 02:51:15 +0100 |
commit | c17423e475802da6919edbabaad894117ae4b7e8 (patch) | |
tree | 4c51bd0406860f3d3cc9c55098a7c08d13dc27ee /resources/scripts/download | |
parent | 00cafd7022045f123dbf433a4b2cdac7699ec585 (diff) |
download/coreboot: simplify check
Diffstat (limited to 'resources/scripts/download')
-rwxr-xr-x | resources/scripts/download/coreboot | 7 |
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/" |