Blame SOURCES/0522-dracut.sh-remove-quotes-from-install_items-and-insta.patch

5c6c2a
From e076279d38466b974305fd38aae4a22e0bd9a90f Mon Sep 17 00:00:00 2001
5c6c2a
From: Harald Hoyer <harald@redhat.com>
5c6c2a
Date: Mon, 10 Aug 2015 14:05:15 +0200
5c6c2a
Subject: [PATCH] dracut.sh: remove quotes from install_items and
5c6c2a
 install_optional_items
5c6c2a
5c6c2a
Unfortunately these are lists with whitespaces.
5c6c2a
5c6c2a
Cherry-picked from: 3c00189988f6921c1affdd61a0f5025ee9b93bda
5c6c2a
Resolves: #1520721
5c6c2a
---
5c6c2a
 dracut.sh | 4 ++--
5c6c2a
 1 file changed, 2 insertions(+), 2 deletions(-)
5c6c2a
5c6c2a
diff --git a/dracut.sh b/dracut.sh
5c6c2a
index 90b75e51..3b91b5e8 100755
5c6c2a
--- a/dracut.sh
5c6c2a
+++ b/dracut.sh
5c6c2a
@@ -1396,8 +1396,8 @@ if [[ $no_kernel != yes ]]; then
5c6c2a
 fi
5c6c2a
 
5c6c2a
 if [[ $kernel_only != yes ]]; then
5c6c2a
-    (( ${#install_items[@]} > 0 )) && inst_multiple "${install_items[@]}"
5c6c2a
-    (( ${#install_optional_items[@]} > 0 )) && inst_multiple -o "${install_optional_items[@]}"
5c6c2a
+    (( ${#install_items[@]} > 0 )) && inst_multiple ${install_items[@]}
5c6c2a
+    (( ${#install_optional_items[@]} > 0 )) && inst_multiple -o ${install_optional_items[@]}
5c6c2a
 
5c6c2a
     [[ $kernel_cmdline ]] && printf "%s\n" "$kernel_cmdline" >> "${initdir}/etc/cmdline.d/01-default.conf"
5c6c2a