Skip to contentSkip to conversation

Added missing quotes

PATCH In review Amadeusz Żołnowski 2 participants 2 messages Feb 23, 2014 – Feb 26, 2014 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Added missing quotes

See bug report at https://bugs.gentoo.org/show_bug.cgi?id=502064

---
 dracut.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
dracut.sh +1 -1
index 5267af5..1e35e09 100755
@@ -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'"
Signature · 1 line
1.9.0

A message that is not in the archive (sent off-list or not yet received): 1393173888-10122-1-git-send-email-aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org

#2 lore raw
Quoted 11 lines · Amadeusz Żołnowski

See bug report at https://bugs.gentoo.org/show_bug.cgi?id=502064

---
 dracut.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
dracut.sh +0 -0
index 5267af5..1e35e09 100755

dracut.sh done · line 557

Quoted 8 lines
dracut.sh +1 -1
@@ -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'"

Thanks! Pushed