mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-30 10:55:03 +00:00
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>
This commit is contained in:
parent
923e02ecf3
commit
c6ba8d06ec
1 changed files with 0 additions and 1 deletions
|
@ -101,7 +101,6 @@ while [ "$1" != "" ] ; do
|
||||||
case "$CMD" in
|
case "$CMD" in
|
||||||
--keep-case|-k)
|
--keep-case|-k)
|
||||||
MUNGE_CASE=no
|
MUNGE_CASE=no
|
||||||
shift
|
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
--refresh)
|
--refresh)
|
||||||
|
|
Loading…
Add table
Reference in a new issue