summaryrefslogtreecommitdiff
path: root/resources/scripts/download/coreboot
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2022-02-10 13:28:45 +0000
committerGogs <gogitservice@gmail.com>2022-02-10 13:28:45 +0000
commitcceffff659452daca0c1cd05d5bf981551dbee9c (patch)
treeaa8e06a16936e3efe844739b286a2d14c43c6e4a /resources/scripts/download/coreboot
parent37b450051362b4c54a8e05807f173b04649ce501 (diff)
parent7422411b247945e000911f3f738227d17c337b20 (diff)
Merge branch 'master' of GNUtoo/lbmk into master
Diffstat (limited to 'resources/scripts/download/coreboot')
-rwxr-xr-xresources/scripts/download/coreboot2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/scripts/download/coreboot b/resources/scripts/download/coreboot
index a500de61..6d0aa353 100755
--- a/resources/scripts/download/coreboot
+++ b/resources/scripts/download/coreboot
@@ -125,7 +125,7 @@ downloadfor() {
fi
cp -R coreboot "${cbtree}" || touch ../build_error
- if [ -d ../build_error ]; then
+ if [ -f ../build_error ]; then
printf "ERROR: download/coreboot: Unable to copy directory. Check file system permissions or free space.\n"
rm -Rf "${cbtree}/"
cd ../; return 1