Skip to content

Commit 57a9c76

Browse files
chauplacyann-morin-1998
authored andcommitted
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 <[email protected]> Acked-by: Andi Kleen <[email protected]> Signed-off-by: Yann E. MORIN <[email protected]>
1 parent f722406 commit 57a9c76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ while [ "$1" != "" ] ; do
105105
;;
106106
--refresh)
107107
;;
108-
--*-after)
108+
--*-after|-E|-D|-M)
109109
checkarg "$1"
110110
A=$ARG
111111
checkarg "$2"

0 commit comments

Comments
 (0)