[OS-BUILD PATCH] redhat/configs/evaluate_configs: walk cfgvariants line by line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jan Stancek <jstancek@xxxxxxxxxx>

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@xxxxxxxxxx>

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
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux