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

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