diff options
| author | Leah Rowe <leah@libreboot.org> | 2024-05-18 11:14:39 +0100 | 
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2024-05-18 11:14:39 +0100 | 
| commit | 32923f56082210b4cdaca5f8bbc4f99cea5343f9 (patch) | |
| tree | 7625c363bb14fad7c9d7b03f945337c003a3c02c | |
| parent | f8e3ca3b2246efb5e525bd8f45adafe6a93ed8a0 (diff) | |
vendor.sh: simplify defconfig check
re-use check_defconfig from option.sh
Signed-off-by: Leah Rowe <leah@libreboot.org>
| -rwxr-xr-x | include/vendor.sh | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/include/vendor.sh b/include/vendor.sh index 3fdb7225..19228cf1 100755 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -46,10 +46,8 @@ vendor_download()  detect_firmware()  { -	_cfg_exists="n" -	for _chk_file in "${boarddir}/config/"*; do -		[ -f "${_chk_file}" ] && _cfg_exists="y" && break -	done +	_cfg_exists="y" +	check_defconfig "$boarddir" && _cfg_exists="n"  	[ "${_cfg_exists}" = "n" ] && return 1  	set -- "${boarddir}/config/"* | 
