All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: "Amadeusz Żołnowski" <aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] dracut-functions: cosmetic changes to inst_rules
Date: Fri, 09 Jul 2010 15:48:05 +0200	[thread overview]
Message-ID: <4C372895.8030208@redhat.com> (raw)
In-Reply-To: <20100705112521.37ec8c65@etiriah>

On 07/05/2010 11:25 AM, Amadeusz Żołnowski wrote:
> ---
>   dracut-functions |    9 +++++----
>   1 files changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/dracut-functions b/dracut-functions
> index 0caf0d6..be6b2e9 100755
> --- a/dracut-functions
> +++ b/dracut-functions
> @@ -331,13 +331,14 @@ find_rule() {
>   # udev rules always get installed in the same place, so
>   # create a function to install them to make life simpler.
>   inst_rules() {
> -    local target=/etc/udev/rules.d
> +    local target=/etc/udev/rules.d rule found
> +
>       inst_dir "/lib/udev/rules.d"
>       inst_dir "$target"
>       for rule in "$@"; do
> -	rule1=$(find_rule "$rule")&&  \
> -	    inst_simple "$rule1" "$target/${rule1##*/}" \
> -	    || dinfo "Skipping udev rule: $rule"
> +        found=$(find_rule "$rule")&&  \
> +            inst_simple "$found" "$target/${found##*/}" \
> +            || dinfo "Skipping udev rule: $rule"
>       done
>   }
>
pushed

      reply	other threads:[~2010-07-09 13:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-05  9:25 [PATCH] dracut-functions: cosmetic changes to inst_rules Amadeusz Żołnowski
2010-07-09 13:48 ` Harald Hoyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C372895.8030208@redhat.com \
    --to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.