From: Hiroshi Doyu Date: Fri, 14 Dec 2012 06:47:59 +0000 (+0200) Subject: scripts/config: Fix wrong "shift" for --keep-case X-Git-Tag: v3.8-rc1~17^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c6ba8d06ecfc1dadcf7f1b54960cf9332ba5ae8d;p=karo-tx-linux.git 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 Signed-off-by: Michal Marek --- diff --git a/scripts/config b/scripts/config index ee355394f4ef..bb4d3deb6d1c 100755 --- a/scripts/config +++ b/scripts/config @@ -101,7 +101,6 @@ while [ "$1" != "" ] ; do case "$CMD" in --keep-case|-k) MUNGE_CASE=no - shift continue ;; --refresh)