All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: [PATCH] Bash completion script for util commands
Date: Thu, 02 Sep 2010 23:44:41 +0200	[thread overview]
Message-ID: <4C801AC9.9050805@gmail.com> (raw)
In-Reply-To: <20100901124021.8378.90579.stgit@colinux.localdomain>

[-- Attachment #1: Type: text/plain, Size: 1533 bytes --]

On 09/01/2010 02:40 PM, Yves Blusseau wrote:
>     * Makefile.am:  Add util/bash-completion.d directory
>     * configure.ac: Likewise.
>     * util/bash-completion.d/Makefile.am: New file.
>     * util/bash-completion.d/grub-completion.bash.in: Likewise.
> ---
>  ChangeLog.completion.bash                      |    6 
>  Makefile.am                                    |    2 
>  configure.ac                                   |    1 
>  util/bash-completion.d/Makefile.am             |   15 +
>  util/bash-completion.d/grub-completion.bash.in |  450 ++++++++++++++++++++++++
>  5 files changed, 473 insertions(+), 1 deletions(-)
>  create mode 100644 ChangeLog.completion.bash
>  create mode 100644 util/bash-completion.d/Makefile.am
>  create mode 100644 util/bash-completion.d/grub-completion.bash.in
>   
> bash-completion.patch
>
>
> +DISTCLEANFILES = *~
>   
We don't add *~ in other Makefile.am. If this should be changed it
should be on the level of whole GRUB
> +__@grubname@_dir() {
>   
Functionnames aren't transformed
> +    root_dir=${root_dir-/}
>   
but dirnames are
> +    if [[ -d "$root_dir/boot" ]]; then
> +        boot_dir="$root_dir/boot"
>   
likewise
> +    else
> +        boot_dir="$root_dir"
>   
> +    fi
> +    echo "${boot_dir%/}/grub"
>   
likewise
These errors repeat themselves many times and make the patch more
difficult to read. Once they are fixed I'll have another look for more
comments.

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

  reply	other threads:[~2010-09-02 21:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 12:40 [PATCH] Bash completion script for util commands Yves Blusseau
2010-09-02 21:44 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-09-06 14:33 Yves Blusseau
2010-09-08 13:51 Yves Blusseau

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=4C801AC9.9050805@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.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.