From dee745bf3d9ba14da6992b829bb168adc2d1c873 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Thu, 4 Sep 2014 05:41:33 +0900 Subject: kconfig: fix savedefconfig to handle TPL correctly Since 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script), "make savedefconfig" of TPL boards has not been working. Signed-off-by: Masahiro Yamada Acked-by: Simon Glass --- scripts/multiconfig.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/multiconfig.sh b/scripts/multiconfig.sh index 7606193102..a5790428c8 100644 --- a/scripts/multiconfig.sh +++ b/scripts/multiconfig.sh @@ -194,14 +194,14 @@ do_savedefconfig () { for i in $output_lines do case "$i" in - "[+A-Z]*:$line") + [+A-Z]*:$line) tmp="$tmp%$unmatched" i=$(echo "$i" | \ - sed -e "s/^\([^:]\)*/\1$symbol/") + sed -e "s/^\([^:]*\)/\1$symbol/") tmp="$tmp%$i" match=1 ;; - "$line") + $line) tmp="$tmp%$unmatched" tmp="$tmp%+$symbol:$i" match=1 -- cgit v1.2.1