diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-12-18 01:37:03 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-02-10 10:55:03 +0100 |
commit | ae0be6f8b4af05ba8ea959690c2aa4e17609f0e7 (patch) | |
tree | 97005928527a255e2dd82e5c6971426099e7f6d2 /resources/scripts/download | |
parent | 37b450051362b4c54a8e05807f173b04649ce501 (diff) |
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>
Diffstat (limited to 'resources/scripts/download')
-rwxr-xr-x | resources/scripts/download/coreboot | 2 |
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 |