summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-08 17:23:08 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-08 17:23:08 +0100
commit3228f943629c89784fa4a2136ea8f26b0a5df284 (patch)
tree78e7fdde005e749aecdd2f065e2a31fa51875894 /net-misc/iputils
parentnet-mail/dovecot: [QA] Fix UnnecessarySlashStrip (diff)
downloadgentoo-3228f943629c89784fa4a2136ea8f26b0a5df284.tar.gz
gentoo-3228f943629c89784fa4a2136ea8f26b0a5df284.tar.bz2
gentoo-3228f943629c89784fa4a2136ea8f26b0a5df284.zip
net-misc/iputils: [QA] Fix UnnecessarySlashStrip
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-misc/iputils')
-rw-r--r--net-misc/iputils/iputils-20190709.ebuild6
-rw-r--r--net-misc/iputils/iputils-99999999.ebuild6
2 files changed, 6 insertions, 6 deletions
diff --git a/net-misc/iputils/iputils-20190709.ebuild b/net-misc/iputils/iputils-20190709.ebuild
index 3d4c44ef2ce2..1c478e19659d 100644
--- a/net-misc/iputils/iputils-20190709.ebuild
+++ b/net-misc/iputils/iputils-20190709.ebuild
@@ -142,7 +142,7 @@ src_install() {
dodir /bin
local my_bin
for my_bin in $(usex arping arping '') ping ; do
- mv "${ED%/}"/usr/bin/${my_bin} "${ED%/}"/bin/ || die
+ mv "${ED}"/usr/bin/${my_bin} "${ED}"/bin/ || die
done
dosym ping /bin/ping4
@@ -175,7 +175,7 @@ src_install() {
if [[ -f "${S}/doc/${my_bin}.html" ]] ; then
html_man_pages+=( ${my_bin}.html )
fi
- done 3< <(find "${ED%/}"/{bin,usr/bin,usr/sbin} -type f -perm -a+x -print0 2>/dev/null)
+ done 3< <(find "${ED}"/{bin,usr/bin,usr/sbin} -type f -perm -a+x -print0 2>/dev/null)
pushd doc &>/dev/null || die
doman "${man_pages[@]}"
@@ -186,7 +186,7 @@ src_install() {
popd &>/dev/null || die
else
if use doc ; then
- mv "${ED%/}"/usr/share/${PN} "${ED%/}"/usr/share/doc/${PF}/html || die
+ mv "${ED}"/usr/share/${PN} "${ED}"/usr/share/doc/${PF}/html || die
fi
fi
}
diff --git a/net-misc/iputils/iputils-99999999.ebuild b/net-misc/iputils/iputils-99999999.ebuild
index b017e1a7fb9a..228cbf543703 100644
--- a/net-misc/iputils/iputils-99999999.ebuild
+++ b/net-misc/iputils/iputils-99999999.ebuild
@@ -142,7 +142,7 @@ src_install() {
dodir /bin
local my_bin
for my_bin in $(usex arping arping '') ping ; do
- mv "${ED%/}"/usr/bin/${my_bin} "${ED%/}"/bin/ || die
+ mv "${ED}"/usr/bin/${my_bin} "${ED}"/bin/ || die
done
dosym ping /bin/ping4
@@ -175,7 +175,7 @@ src_install() {
if [[ -f "${S}/doc/${my_bin}.html" ]] ; then
html_man_pages+=( ${my_bin}.html )
fi
- done 3< <(find "${ED%/}"/{bin,usr/bin,usr/sbin} -type f -perm -a+x -print0 2>/dev/null)
+ done 3< <(find "${ED}"/{bin,usr/bin,usr/sbin} -type f -perm -a+x -print0 2>/dev/null)
pushd doc &>/dev/null || die
doman "${man_pages[@]}"
@@ -186,7 +186,7 @@ src_install() {
popd &>/dev/null || die
else
if use doc ; then
- mv "${ED%/}"/usr/share/${PN} "${ED%/}"/usr/share/doc/${PF}/html || die
+ mv "${ED}"/usr/share/${PN} "${ED}"/usr/share/doc/${PF}/html || die
fi
fi
}