summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-20 04:04:42 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-20 04:04:42 +0100
commit8c4a91850010cb45084c021f085275b3bddd0cc9 (patch)
tree4a989b97c672abbf73feae387c09f8674482806c
parent47112968411558bc832a867c1b7bc90884eded75 (diff)
vendor.sh: more cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xinclude/vendor.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index d56cf311..d7ecd55d 100755
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -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()