download/coreboot: simplify check
parent
00cafd7022
commit
c17423e475
|
@ -89,11 +89,8 @@ download_coreboot_for_board()
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ ! -d coreboot ] && \
|
[ ! -d coreboot ] && mkdir "coreboot/"
|
||||||
mkdir "coreboot/"
|
[ ! -d coreboot ] && return 1
|
||||||
[ ! -d coreboot ] && \
|
|
||||||
printf "ERROR: download/coreboot: directory not created\n" && \
|
|
||||||
return 1
|
|
||||||
|
|
||||||
cd "coreboot/"
|
cd "coreboot/"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue