sci-chemistry/gromacs: Fix bashcomp install
authorAlexey Shvetsov <alexxy@gentoo.org>
Fri, 3 Jan 2020 16:57:34 +0000 (19:57 +0300)
committerAlexey Shvetsov <alexxy@gentoo.org>
Fri, 3 Jan 2020 16:57:46 +0000 (19:57 +0300)
Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
sci-chemistry/gromacs/gromacs-2020.9999.ebuild
sci-chemistry/gromacs/gromacs-2020.ebuild

index 859628fa107319eeb1d1079b4d0196a3316a7d81..293e520983770a374672213ba2c981507e7a21f2 100644 (file)
@@ -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
index 859628fa107319eeb1d1079b4d0196a3316a7d81..293e520983770a374672213ba2c981507e7a21f2 100644 (file)
@@ -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