summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-08-03 20:17:16 +0200
committerDavid Seifert <soap@gentoo.org>2020-08-03 20:17:16 +0200
commitb4b33dfa42e5b47cf0bfbf07275fd5b8c576a018 (patch)
tree8a741de400964485026ae1b2d975765cbc624101
parentx11-wm/xmonad-contrib: bump up to 0.16 (ghc-8.8 compatible) (diff)
downloadgentoo-b4b33dfa42e5b47cf0bfbf07275fd5b8c576a018.tar.gz
gentoo-b4b33dfa42e5b47cf0bfbf07275fd5b8c576a018.tar.bz2
gentoo-b4b33dfa42e5b47cf0bfbf07275fd5b8c576a018.zip
sci-biology/samtools: [QA] Fix UnnecessarySlashStrip
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--sci-biology/samtools/samtools-0.1.20-r4.ebuild10
1 files 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 2c76f0580f81..d598a3292728 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