scripts/config: Fix wrong "shift" for --keep-case
commitc6ba8d06ecfc1dadcf7f1b54960cf9332ba5ae8d
authorHiroshi Doyu <hdoyu@nvidia.com>
Fri, 14 Dec 2012 06:47:59 +0000 (14 08:47 +0200)
committerMichal Marek <mmarek@suse.cz>
Fri, 14 Dec 2012 13:16:10 +0000 (14 14:16 +0100)
tree0223dfb199b97852dfc22a618203914dd0acf29a
parent923e02ecf3f8db19d52176723fefa0ffe6e9a3cd
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: Hiroshi Doyu <hdoyu@nvidia.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/config