summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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()