]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Added missing quotes
authorAmadeusz Żołnowski <aidecoe@aidecoe.name>
Sun, 23 Feb 2014 16:44:48 +0000 (17:44 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 26 Feb 2014 13:55:54 +0000 (14:55 +0100)
See bug report at https://bugs.gentoo.org/show_bug.cgi?id=502064

dracut.sh

index 98fc491e222845a1e4181f60061250ca899ce557..c31f93e4d48e8b8a09b707d01d1e44b6955b55df 100755 (executable)
--- a/dracut.sh
+++ b/dracut.sh
@@ -551,7 +551,7 @@ done
 # the old fashioned way
 
 while (($# > 0)); do
-    if [ ${1%%=*} == "++include" ]; then
+    if [ "${1%%=*}" == "++include" ]; then
         push include_src "$2"
         push include_target "$3"
         PARMS_TO_STORE+=" --include '$2' '$3'"