diff --git a/resources/scripts/download/coreboot b/resources/scripts/download/coreboot index 4f9855dcbfd8e7ed0b4c287ffbc327a23f426542..91284557cf61a164d685141c9f3188a69b613389 100755 --- a/resources/scripts/download/coreboot +++ b/resources/scripts/download/coreboot @@ -188,8 +188,8 @@ prepare_new_coreboot_tree() # extra.sh can be used for anything # but should *only* be a last resort - if [ -f "../../resources/coreboot/${_board}/extra.sh" ]; then - "../../resources/coreboot/${_board}/extra.sh" || \ + if [ -f "../../resources/coreboot/${cbtree}/extra.sh" ]; then + "../../resources/coreboot/${cbtree}/extra.sh" || \ exit 1 fi )