From: Jan Stancek <jstancek(a)redhat.com>
redhat/configs/evaluate_configs: walk cfgvariants line by line
get_subdirs() code suggests it should walk cfgvariants line by line,
but with quotes it passes everything to inner loop.
Signed-off-by: Jan Stancek <jstancek(a)redhat.com>
diff --git a/redhat/configs/evaluate_configs b/redhat/configs/evaluate_configs
index blahblah..blahblah 100755
--- a/redhat/configs/evaluate_configs
+++ b/redhat/configs/evaluate_configs
@@ -125,7 +125,7 @@ get_subdirs() { # uses $cfgvariants and $toplevels
do
max=0
count=0
- OLDIFS=$IFS; IFS=$'\n'; for LINE in "$cfgvariants"
+ OLDIFS=$IFS; IFS=$'\n'; for LINE in $cfgvariants
do
LINE=$(echo "$LINE" | cut -d "|" -f 2)
count=0
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1436