commit:     ede00f8d00c0749ec0a6eae8d0658ae51b12e5e8
Author:     Stefan Strogin <steils <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 12 22:51:15 2020 +0000
Commit:     Stefan Strogin <steils <AT> gentoo <DOT> org>
CommitDate: Wed Feb 12 22:51:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ede00f8d

dev-games/mygui: remove unnecessary slash strips

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>

 dev-games/mygui/mygui-3.4.0.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-games/mygui/mygui-3.4.0.ebuild 
b/dev-games/mygui/mygui-3.4.0.ebuild
index 15c88e7a864..896d211683f 100644
--- a/dev-games/mygui/mygui-3.4.0.ebuild
+++ b/dev-games/mygui/mygui-3.4.0.ebuild
@@ -146,14 +146,14 @@ src_install() {
        fperms o+w /etc/MYGUI
 
        # test media not needed at runtime
-       rm -rf "${ED%/}"/usr/share/MYGUI/Media/UnitTests || die
+       rm -rf "${ED}"/usr/share/MYGUI/Media/UnitTests || die
        # wrapper not available for linux, remove related media
-       rm -rf "${ED%/}"/usr/share/MYGUI/Media/Wrapper || die
+       rm -rf "${ED}"/usr/share/MYGUI/Media/Wrapper || die
 }
 
 pkg_postinst() {
        elog
        elog "ogre.cfg and Ogre.log are created as"
-       elog "${EROOT%/}/etc/MYGUI/mygui-ogre.cfg and /etc/MYGUI/mygui-Ogre.log"
+       elog "${EROOT}/etc/MYGUI/mygui-ogre.cfg and /etc/MYGUI/mygui-Ogre.log"
        elog
 }

Reply via email to