summaryrefslogtreecommitdiff
path: root/include/option.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-18 19:51:40 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-18 19:51:40 +0100
commit5b5dccd630611922f8d57a27d4f09ae7cf7cde87 (patch)
tree78d5b5233c019f3340ebf95a0780dfb563c5a896 /include/option.sh
parent8418ea9ab2dbcf13ebbfa23cd620a1bf108a24f3 (diff)
vendor.sh: further simplify config handling
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/option.sh')
-rwxr-xr-xinclude/option.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/option.sh b/include/option.sh
index 3d9f4536..45066166 100755
--- a/include/option.sh
+++ b/include/option.sh
@@ -121,6 +121,7 @@ EOF
check_defconfig()
{
+ [ -d "$1" ] || $err "Target '$1' not defined."
for x in "${1}"/config/*; do
[ -f "${x}" ] && printf "%s\n" "$x" && return 1
done