vendor.sh: more cleanup

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit6
Leah Rowe 2024-06-20 04:04:42 +01:00
parent 4711296841
commit 8c4a918500
1 changed files with 2 additions and 3 deletions

View File

@ -32,10 +32,9 @@ vendor_download()
[ $# -gt 0 ] || $err "No argument given"
board="$1"
boarddir="$cbcfgsdir/$board"
_b="${board%%_*mb}" # shorthand (no duplication per rom size)
getcfg && scan_config "$_b" "config/vendor" && bootstrap && getfiles
boarddir="$cbcfgsdir/$board" && getcfg && scan_config "$_b" \
"config/vendor" && bootstrap && getfiles; return 0
}
getcfg()