Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57a9c760 authored by Clement Chauplannaz's avatar Clement Chauplannaz Committed by Yann E. MORIN
Browse files

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: default avatarClement Chauplannaz <chauplac@gmail.com>
Acked-by: default avatarAndi Kleen <ak@linux.intel.com>
Signed-off-by: default avatarYann E. MORIN <yann.morin.1998@free.fr>
parent f722406f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ while [ "$1" != "" ] ; do
		;;
	--refresh)
		;;
	--*-after)
	--*-after|-E|-D|-M)
		checkarg "$1"
		A=$ARG
		checkarg "$2"