ewarn "to absence of any configured kernel sources or compiled"
ewarn "config:"
for config in ${CONFIG_CHECK}; do
- local_error="ERROR_${config#\~}"
+ config=${config#\~}
+ config=${config#\!}
+ local_error="ERROR_${config}"
msg="${!local_error}"
- if [[ "x${msg}" == "x" ]]; then
- local_error="WARNING_${config#\~}"
+ if [[ -z ${msg} ]]; then
+ local_error="WARNING_${config}"
msg="${!local_error}"
fi
- ewarn " - ${config#\~}${msg:+ - }${msg}"
+ ewarn " - ${config}${msg:+ - }${msg}"
done
ewarn "You're on your own to make sure they are set if needed."
export LINUX_CONFIG_EXISTS_DONE="${old_LINUX_CONFIG_EXISTS_DONE}"