bugGNU GRUB - Bugs: bug #33855, identifiers with hypen in the...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitter:  Andreas Born <shador>
Submitted:  Mon 25 Jul 2011 11:10:55 AM UTC
   
 
Category:  None Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  Bazaar - trunk
Release:  Reproducibility:  Every Time
Planned Release:  None

Wed 28 Sep 2011 12:27:13 PM UTC, comment #1: 

Applied. Thanks

Vladimir Serbinenko <phcoder>
Group administrator
Mon 25 Jul 2011 11:10:55 AM UTC, original submission:  

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.

Andreas Born <shador>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by shador (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-09-28 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
    2011-07-25 shador Attached File- Added grub-completion-hyphen.patch, #23695

    Back to the top

    Powered by Savane 3.13-0329.
    Corresponding source code