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/ _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org https://lists.gnu.org/mailman/listinfo/bug-grub