diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-06-08 10:23:18 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-06-08 10:23:18 +0200 |
commit | 23101938fd6bed3e0c8aa30d6645ebb24d84b66e (patch) | |
tree | 1692f01aa127892e04a4758777ac9f1f80b2fa3e | |
parent | c18fdd7aaf34e3c2fe345751b0089099b69d5321 (diff) | |
download | kconfig-23101938fd6bed3e0c8aa30d6645ebb24d84b66e.tar.gz |
ignore fails for nonexisting opts
-rwxr-xr-x | kconfig | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -69,12 +69,14 @@ function do_apply() { yes "" | $make oldconfig >/dev/null if grep -q "$option=$value" .config; then do_print "$option" "$value" "applied" - else + elif grep -q "${option}[= ]" .config; then do_print "$option" "$value" "FAIL" echo "--" grep "${option}[= ]" .config echo "--" exit 1 + else + do_print "$option" "o" "not supported by kernel" fi ;; CONFIG*=n) |