summaryrefslogtreecommitdiff
path: root/scripts/config
diff options
context:
space:
mode:
authorClement Chauplannaz <chauplac@gmail.com>2013-05-12 23:08:52 +0400
committerYann E. MORIN <yann.morin.1998@free.fr>2013-05-20 16:15:17 +0400
commit57a9c7609d7418ce75324df38f66cd7d937a77cb (patch)
treec1eb485d45dee70287ac9ca8dca693e0a91bc65d /scripts/config
parentf722406faae2d073cc1d01063d1123c35425939e (diff)
downloadlinux-57a9c7609d7418ce75324df38f66cd7d937a77cb.tar.xz
scripts/config: fix assignment of parameters for short version of --*-after options
When --*-after options are used, two parameters are parsed from the command-line before the adequate function is called: - the `before' option, after which the new option will be inserted, - the name of the option to enable/disable/modularise. With the short version of --*-after options (namely -E, -D, -M), the parsing step is not performed which leads to processing unset variables. Add options -E, -D, -M to the test that triggers assignment of parameters for --*-after options. Signed-off-by: Clement Chauplannaz <chauplac@gmail.com> Acked-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Diffstat (limited to 'scripts/config')
-rwxr-xr-xscripts/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/config b/scripts/config
index bb4d3deb6d1c..a65ecbbdd32a 100755
--- a/scripts/config
+++ b/scripts/config
@@ -105,7 +105,7 @@ while [ "$1" != "" ] ; do
;;
--refresh)
;;
- --*-after)
+ --*-after|-E|-D|-M)
checkarg "$1"
A=$ARG
checkarg "$2"