Skip to content
Snippets Groups Projects
Unverified Commit ae0be6f8 authored by Denis 'GNUtoo' Carikli's avatar Denis 'GNUtoo' Carikli
Browse files

scripts: download: coreboot: Fix check for build error


build_error is supposed to be a file since it's created with touch.

Signed-off-by: default avatarDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
parent 37b45005
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment