aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xprojects/coreboot/coreboot4
1 files changed, 3 insertions, 1 deletions
diff --git a/projects/coreboot/coreboot b/projects/coreboot/coreboot
index 48da5939..f7cfd2d9 100755
--- a/projects/coreboot/coreboot
+++ b/projects/coreboot/coreboot
@@ -86,7 +86,9 @@ build() {
< <(coreboot_config "$board" "$@") \
2>/dev/null)
- mapfile -t board_variant_config < "$variant_config_path"
+ if [[ -n "$variant_config_path" ]]; then
+ mapfile -t board_variant_config < "$variant_config_path"
+ fi
if git_project_check "$repository"
then