commit:     6732c807534cdeb7384a498f98749d5e57c3bc8c
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  3 16:57:34 2020 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Fri Jan  3 16:57:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6732c807

sci-chemistry/gromacs: Fix bashcomp install

Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>

 sci-chemistry/gromacs/gromacs-2020.9999.ebuild | 2 +-
 sci-chemistry/gromacs/gromacs-2020.ebuild      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-chemistry/gromacs/gromacs-2020.9999.ebuild 
b/sci-chemistry/gromacs/gromacs-2020.9999.ebuild
index 859628fa107..293e5209837 100644
--- a/sci-chemistry/gromacs/gromacs-2020.9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2020.9999.ebuild
@@ -318,7 +318,7 @@ src_install() {
        for x in "${ED}"/usr/bin/gmx-completion-*.bash ; do
                local n=${x##*/gmx-completion-}
                n="${n%.bash}"
-               cat "${ED}"/usr/bin/gmx-completion.bash "$x" > "${T}/${n}" || 
die
+               cat "${ED}"/usr/bin/gmx-completion-gmx.bash "$x" > "${T}/${n}" 
|| die
                newbashcomp "${T}"/"${n}" "${n}"
        done
        rm "${ED}"/usr/bin/gmx-completion*.bash || die

diff --git a/sci-chemistry/gromacs/gromacs-2020.ebuild 
b/sci-chemistry/gromacs/gromacs-2020.ebuild
index 859628fa107..293e5209837 100644
--- a/sci-chemistry/gromacs/gromacs-2020.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2020.ebuild
@@ -318,7 +318,7 @@ src_install() {
        for x in "${ED}"/usr/bin/gmx-completion-*.bash ; do
                local n=${x##*/gmx-completion-}
                n="${n%.bash}"
-               cat "${ED}"/usr/bin/gmx-completion.bash "$x" > "${T}/${n}" || 
die
+               cat "${ED}"/usr/bin/gmx-completion-gmx.bash "$x" > "${T}/${n}" 
|| die
                newbashcomp "${T}"/"${n}" "${n}"
        done
        rm "${ED}"/usr/bin/gmx-completion*.bash || die

Reply via email to