mkinitrd unification across distributions
 help / color / mirror / Atom feed
* [PATCH] Added missing quotes
@ 2014-02-23 16:44 Amadeusz Żołnowski
       [not found] ` <1393173888-10122-1-git-send-email-aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Amadeusz Żołnowski @ 2014-02-23 16:44 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA; +Cc: 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(-)

diff --git a/dracut.sh b/dracut.sh
index 5267af5..1e35e09 100755
--- 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'"
-- 
1.9.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Added missing quotes
       [not found] ` <1393173888-10122-1-git-send-email-aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org>
@ 2014-02-26 14:04   ` Harald Hoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Harald Hoyer @ 2014-02-26 14:04 UTC (permalink / raw)
  To: Amadeusz Żołnowski, initramfs-u79uwXL29TY76Z2rM5mHXA

On 02/23/2014 05:44 PM, Amadeusz Żołnowski wrote:
> See bug report at https://bugs.gentoo.org/show_bug.cgi?id=502064
> ---
>  dracut.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/dracut.sh b/dracut.sh
> index 5267af5..1e35e09 100755
> --- 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'"
> 

Thanks! Pushed

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-26 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-23 16:44 [PATCH] Added missing quotes Amadeusz Żołnowski
     [not found] ` <1393173888-10122-1-git-send-email-aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org>
2014-02-26 14:04   ` Harald Hoyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox