mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 03:25:25 +02:00
vendor.sh: remove redundant check
we literally do this check twice, in immediate succession. avoid wasted i/o Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -46,10 +46,6 @@ vendor_download()
|
|||||||
|
|
||||||
detect_firmware()
|
detect_firmware()
|
||||||
{
|
{
|
||||||
_cfg_exists="y"
|
|
||||||
check_defconfig "$boarddir" && _cfg_exists="n"
|
|
||||||
[ "${_cfg_exists}" = "n" ] && return 1
|
|
||||||
|
|
||||||
set -- "${boarddir}/config/"*
|
set -- "${boarddir}/config/"*
|
||||||
. "${1}" 2>/dev/null
|
. "${1}" 2>/dev/null
|
||||||
. "${boarddir}/target.cfg" 2>/dev/null
|
. "${boarddir}/target.cfg" 2>/dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user