Blame 0061-dracut.sh-remove-quotes-from-install_items-and-insta.patch

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