commit: b4b33dfa42e5b47cf0bfbf07275fd5b8c576a018 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Mon Aug 3 18:17:16 2020 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Mon Aug 3 18:17:16 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4b33dfa
sci-biology/samtools: [QA] Fix UnnecessarySlashStrip Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: David Seifert <soap <AT> gentoo.org> sci-biology/samtools/samtools-0.1.20-r4.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sci-biology/samtools/samtools-0.1.20-r4.ebuild b/sci-biology/samtools/samtools-0.1.20-r4.ebuild index 2c76f0580f8..d598a329272 100644 --- a/sci-biology/samtools/samtools-0.1.20-r4.ebuild +++ b/sci-biology/samtools/samtools-0.1.20-r4.ebuild @@ -36,16 +36,16 @@ src_install() { # install executables and hide them away from sight dobin samtools bcftools/{bcftools,vcfutils.pl} misc/{*.py,*.pl,wgsim,ace2sam} \ misc/{md5sum-lite,maq2sam-short,bamcheck,maq2sam-long,md5fa,plot-bamcheck} - mv "${ED%/}"/usr/{bin,${PN}-${SLOT}} || die - mkdir "${ED%/}"/usr/bin || die - mv "${ED%/}"/usr/{${PN}-${SLOT},bin/} || die + mv "${ED}"/usr/{bin,${PN}-${SLOT}} || die + mkdir "${ED}"/usr/bin || die + mv "${ED}"/usr/{${PN}-${SLOT},bin/} || die # remove py2 script, has been removed upstream anyways # https://github.com/samtools/samtools/issues/1125 - rm "${ED%/}"/usr/bin/${PN}-${SLOT}/varfilter.py || die + rm "${ED}"/usr/bin/${PN}-${SLOT}/varfilter.py || die # fix perl shebangs - pushd "${ED%/}"/usr/bin/${PN}-${SLOT} >/dev/null || die + pushd "${ED}"/usr/bin/${PN}-${SLOT} >/dev/null || die local i for i in plot-bamcheck *.pl; do sed -e '1s:.*:#!/usr/bin/env perl:' -i "${i}" || die