scripts: merge_config: Fix typo in variable name.
${WARNOVERRIDE} was misspelled as ${WARNOVVERIDE}, which caused a shell
syntax error in certain paths of the script execution.
Fixes: 46dff8d7e3
("scripts: merge_config: Add option to suppress warning on overrides")
Signed-off-by: Mirsad Goran Todorovac <mirsad.todorovac@alu.unizg.hr>
Reviewed-by: Mark Brown <broonie@kernel.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
parent
3ced71d273
commit
1073c15fd3
|
@ -145,7 +145,7 @@ for ORIG_MERGE_FILE in $MERGE_LIST ; do
|
|||
NEW_VAL=$(grep -w $CFG $MERGE_FILE)
|
||||
BUILTIN_FLAG=false
|
||||
if [ "$BUILTIN" = "true" ] && [ "${NEW_VAL#CONFIG_*=}" = "m" ] && [ "${PREV_VAL#CONFIG_*=}" = "y" ]; then
|
||||
${WARNOVVERIDE} Previous value: $PREV_VAL
|
||||
${WARNOVERRIDE} Previous value: $PREV_VAL
|
||||
${WARNOVERRIDE} New value: $NEW_VAL
|
||||
${WARNOVERRIDE} -y passed, will not demote y to m
|
||||
${WARNOVERRIDE}
|
||||
|
|
Loading…
Reference in New Issue