commit:     0dc2db3e6d7eef70fcf8c3d174702421b5ad384a
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 24 03:32:39 2014 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Fri Oct 24 03:32:39 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=0dc2db3e

fixed bash-comp (bug #526320)

Package-Manager: portage-2.2.8-r2

---
 sci-chemistry/votca-csg/ChangeLog             | 3 +++
 sci-chemistry/votca-csg/votca-csg-9999.ebuild | 6 +++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/sci-chemistry/votca-csg/ChangeLog 
b/sci-chemistry/votca-csg/ChangeLog
index 9fff6d4..621aa69 100644
--- a/sci-chemistry/votca-csg/ChangeLog
+++ b/sci-chemistry/votca-csg/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  24 Oct 2014; Christoph Junghans <[email protected]> votca-csg-9999.ebuild:
+  fixed bash-comp (bug #526320)
+
   01 Sep 2014; Christoph Junghans <[email protected]> votca-csg-9999.ebuild:
   sync with gx86
 

diff --git a/sci-chemistry/votca-csg/votca-csg-9999.ebuild 
b/sci-chemistry/votca-csg/votca-csg-9999.ebuild
index 6fc1afe..94f2fc0 100644
--- a/sci-chemistry/votca-csg/votca-csg-9999.ebuild
+++ b/sci-chemistry/votca-csg/votca-csg-9999.ebuild
@@ -86,8 +86,12 @@ src_configure() {
 }
 
 src_install() {
-       newbashcomp scripts/csg-completion.bash ${PN}
        cmake-utils_src_install
+       newbashcomp scripts/csg-completion.bash csg_call
+       for i in "${ED}"/usr/bin/csg_*; do
+               [[ ${i} = *csg_call ]] && continue
+               bashcomp_alias csg_call "${i##*/}"
+       done
        if use doc; then
                if [[ ${PV} = *9999* ]]; then
                        pushd "${WORKDIR}"/manual

Reply via email to