mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
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: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user