| Summary: | bash-completion.eclass should provide get_bashcompdir() | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Kir Kolyshkin <kir> |
| Component: | Eclasses | Assignee: | Gentoo Shell Tools project <shell-tools> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | enhancement | CC: | hollow, phreak |
| Priority: | Lowest | ||
| Version: | 2006.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Kir Kolyshkin
2007-01-18 15:47:50 UTC
Well, eselect bashcomp is always going to look for these completion scripts in /usr/share/bash-completion unless the user sets EC_BASHCOMP_DIRS to override it. What exactly are you changing in vzctl? vzctl's 'make install' installs its bashcomp file into /etc/bash_completion.d/. With Gentoo, I need to install it to /usr/share/bash-completion. The problem here is I want bash-completion.eclass to provide that path (/usr/share/bash-completion) in some way (say in a variable), so I will not need to hardcode it in vzctl ebuild. Hope that clarifies things. So, instead of using dobashcompletion() from the vzctl.ebuild we want to use vzctl's own 'make install' -- and for that we need to know the path where we should install the bashcomp file to. If bash-completion eclass could provide this path (/usr/share/bash-completion) in some way that'd be great. (In reply to comment #3) > So, instead of using dobashcompletion() from the vzctl.ebuild we want to use > vzctl's own 'make install' -- and for that we need to know the path where we > should install the bashcomp file to. If bash-completion eclass could provide > this path (/usr/share/bash-completion) in some way that'd be great. > Hi, I'm new to the b-c package and just reviewing the open bugs. If you still would like this done and can provide a patch, I will review it. thanks Closing just because of no feedback. |