dev-games/mygui: remove unnecessary slash strips
authorStefan Strogin <steils@gentoo.org>
Wed, 12 Feb 2020 22:51:15 +0000 (00:51 +0200)
committerStefan Strogin <steils@gentoo.org>
Wed, 12 Feb 2020 22:51:51 +0000 (00:51 +0200)
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Stefan Strogin <steils@gentoo.org>
dev-games/mygui/mygui-3.4.0.ebuild

index 15c88e7a8640eefa649096c4c96064b8695a31b0..896d211683f2003b0f4bddea1ba67051a4f15f97 100644 (file)
@@ -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
 }