app-editors/vim-core: remove bogus script in the src_prepare phase.
authorPatrice Clement <monsieurp@gentoo.org>
Mon, 23 Oct 2017 08:11:12 +0000 (10:11 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Mon, 23 Oct 2017 08:13:58 +0000 (10:13 +0200)
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

index 083a0871ebede5ef2af9314fbd23626261c430b5..358da58e0591b171638df79b16f1a802d90fac77 100644 (file)
@@ -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
 }