summaryrefslogtreecommitdiff
path: root/script/build/coreboot/utils
diff options
context:
space:
mode:
Diffstat (limited to 'script/build/coreboot/utils')
-rwxr-xr-xscript/build/coreboot/utils4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/build/coreboot/utils b/script/build/coreboot/utils
index 75827d86..e3d471ad 100755
--- a/script/build/coreboot/utils
+++ b/script/build/coreboot/utils
@@ -21,9 +21,9 @@ main()
build_for_mainboard() {
[ -f "config/coreboot/${1}/target.cfg" ] || \
err "build_for_mainboard ${1}: target.cfg does not exist"
- tree="undefined"
+ tree=""
. "config/coreboot/${1}/target.cfg" # source
- [ "${tree}" = "undefined" ] && \
+ [ -z ${tree} ] && \
err "build_for_mainboard ${1}: improper tree definition"
buildutils "${tree}"
}