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

Submitted by:  Andreas Born <shador>
Submitted on:  Mon 25 Jul 2011 11:10:55 AM UTC  
 
Category: NoneSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: Bazaar - trunkReproducibility: Every Time
Planned Release: None

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

Applied. Thanks

Vladimir Serbinenko <phcoder>
Project 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>

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 28 Sep 2011 12:27:13 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 25 Jul 2011 11:10:55 AM UTCshadorAttached File-=>Added grub-completion-hyphen.patch, #23695

    Back to the top


    Powered by Savane 3.1-cleanup1