summaryrefslogtreecommitdiff
path: root/resources/scripts/download
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/download')
-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/"