commit: df1aef52f0ddf1798a611d1a4e0225ea393dfbcf Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> AuthorDate: Mon Oct 23 08:11:12 2017 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Mon Oct 23 08:13:58 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df1aef52
app-editors/vim-core: remove bogus script in the src_prepare phase. Package-Manager: Portage-2.3.8, Repoman-2.3.3 Closes: https://bugs.gentoo.org/635136 app-editors/vim-core/vim-core-8.0.1188.ebuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app-editors/vim-core/vim-core-8.0.1188.ebuild b/app-editors/vim-core/vim-core-8.0.1188.ebuild index 083a0871ebe..358da58e059 100644 --- a/app-editors/vim-core/vim-core-8.0.1188.ebuild +++ b/app-editors/vim-core/vim-core-8.0.1188.ebuild @@ -48,6 +48,9 @@ src_prepare() { -e '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \ "${S}"/runtime/tools/mve.awk || die "sed failed" + # See #77841. We remove this file after the tarball extraction. + rm -v "${S}"/runtime/tools/vimspell.sh || die "rm failed" + # Read vimrc and gvimrc from /etc/vim echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h @@ -201,11 +204,6 @@ src_install() { eshopts_pop fi - # These files might have slight security issues, so we won't - # install them. See bug #77841. We don't mind if these don't - # exist. - rm -v "${ED}${vimfiles}"/tools/vimspell.sh || die "rm failed" - newbashcomp "${FILESDIR}"/xxd-completion xxd }