Skip to content
Commit c6ba8d06 authored by Hiroshi Doyu's avatar Hiroshi Doyu Committed by Michal Marek
Browse files

scripts/config: Fix wrong "shift" for --keep-case



Remove wrong "shift" for --keep-case. There is always "shift" at
beginning of while-loop. No need "shift" at --keep-case just before
"continue" to process next argument.

Now the following works as expected:

./scripts/config -e aAa -k -e bBb -e cCc && tail -3 .config
CONFIG_AAA=y
CONFIG_bBb=y
CONFIG_cCc=y

Signed-off-by: default avatarHiroshi Doyu <hdoyu@nvidia.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 923e02ec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment