]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut.sh: remove quotes from install_items and install_optional_items
authorHarald Hoyer <harald@redhat.com>
Mon, 10 Aug 2015 12:05:15 +0000 (14:05 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 10 Aug 2015 12:05:15 +0000 (14:05 +0200)
Unfortunately these are lists with whitespaces.

dracut.sh

index 77874ba3d1691a980f3916133d3f4e5fe516a08e..f7d31a4061baf94a880c6f390703b92bc0a9c299 100755 (executable)
--- a/dracut.sh
+++ b/dracut.sh
@@ -1453,8 +1453,8 @@ if [[ $no_kernel != yes ]]; then
 fi
 
 if [[ $kernel_only != yes ]]; then
-    (( ${#install_items[@]} > 0 )) && inst_multiple "${install_items[@]}"
-    (( ${#install_optional_items[@]} > 0 )) && inst_multiple -o "${install_optional_items[@]}"
+    (( ${#install_items[@]} > 0 )) && inst_multiple ${install_items[@]}
+    (( ${#install_optional_items[@]} > 0 )) && inst_multiple -o ${install_optional_items[@]}
 
     [[ $kernel_cmdline ]] && printf "%s\n" "$kernel_cmdline" >> "${initdir}/etc/cmdline.d/01-default.conf"