option.sh: err if config directory is missing
Signed-off-by: Leah Rowe <leah@libreboot.org>audit2-merge1
parent
c28166ff9e
commit
a243dc2308
|
@ -121,6 +121,7 @@ EOF
|
||||||
|
|
||||||
check_defconfig()
|
check_defconfig()
|
||||||
{
|
{
|
||||||
|
[ -d "$1" ] || $err "Target '$1' not defined."
|
||||||
for x in "${1}"/config/*; do
|
for x in "${1}"/config/*; do
|
||||||
[ -f "${x}" ] && printf "%s\n" "$x" && return 1
|
[ -f "${x}" ] && printf "%s\n" "$x" && return 1
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue