bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #33855] identifiers with hypen in the bash-completion script


From: Andreas Born
Subject: [bug #33855] identifiers with hypen in the bash-completion script
Date: Mon, 25 Jul 2011 11:10:55 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

URL:
  <http://savannah.gnu.org/bugs/?33855>

                 Summary: identifiers with hypen in the bash-completion script
                 Project: GNU GRUB
            Submitted by: shador
            Submitted on: Mo 25 Jul 2011 11:10:55 GMT
                Category: None
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Bazaar - trunk
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

Running the bash-completion script with a bash instance invoked as /bin/sh
causes the script to fail, because some identifiers contain hyphens, which
aren't valid for identifiers.

$ LANG=C /bin/sh /etc/bash_completion
/etc/bash_completion.d/grub: line 417: `_grub_mkpasswd-pbkdf2': not a valid
identifier

Attached patch replaces hyphens with underscores in
util/bash-completion.d/grub-completion.bash.in. The patch was created with
r3395.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mo 25 Jul 2011 11:10:55 GMT  Name: grub-completion-hyphen.patch  Size:
1kB   By: shador

<http://savannah.gnu.org/bugs/download.php?file_id=23695>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33855>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]