Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 42878
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Christian Birchinger <joker@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: John Russell <jjrussell@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 42878 depends on: Show dependency tree
Bug 42878 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-02-25 05:57 0000
The script entitled "gentoo" which is distributed with the bash_completion
package uses the bash option "-o nospace" which was not introduced until bash
2.05b.  In the main bash_completion script there is an explicit check for this
and then a variable called $nospace is created.  It is either empty for < 2.05b
or contains "-o nospace" for >= 2.05b.  

All occurences of "-o nospace" in the gentoo bash completion script should be
replaced with use of the $nospace variable which is set from the main script.

Reproducible: Always
Steps to Reproduce:
1.load bash_completion with bash < 2.05b
2.shell will output error message "bash: complete: nospace: invalid option
name"
3.Nothing else.

Actual Results:  
shell will output error message "bash: complete: nospace: invalid option name"

Expected Results:  
No output

All occurences of "-o nospace" in the gentoo bash completion script should be
replaced with use of the $nospace variable which is set from the main script.

------- Comment #1 From Christian Birchinger 2004-02-27 10:17:19 0000 -------
Since gentoo has only bash 2.05b in the portage tree i'll simply raise the
version
In the DEPEND variable on next release.

------- Comment #2 From Christian Birchinger 2004-02-27 10:35:31 0000 -------
Marked the latest release stable with your additional s/-o nospace/$nospace/
replacement. I hope that's the only incompatibility with the old bash release
because otherwise i'll really just raise the requirement in the DEPEND.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug