sys-devel/llvm: Fix EROOT trailing slash, spotted by Hummer12007
authorMichał Górny <mgorny@gentoo.org>
Thu, 27 Sep 2018 06:42:24 +0000 (08:42 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 27 Sep 2018 06:42:24 +0000 (08:42 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-devel/llvm/llvm-7.0.0.ebuild
sys-devel/llvm/llvm-7.0.9999.ebuild
sys-devel/llvm/llvm-9999.ebuild

index ef47128aa166f62272bb41943c6011fd0f5fcb80..08b89718f246eba9f0d83641348c410daa2be110 100644 (file)
@@ -252,7 +252,7 @@ multilib_src_install_all() {
 
 pkg_postinst() {
        elog "You can find additional opt-viewer utility scripts in:"
-       elog "  ${EROOT}/usr/lib/llvm/${SLOT}/share/opt-viewer"
+       elog "  ${EROOT%/}/usr/lib/llvm/${SLOT}/share/opt-viewer"
        elog "To use these scripts, you will need Python 2.7 along with the following"
        elog "packages:"
        elog "  dev-python/pygments (for opt-viewer)"
index b97e3a6b47bd107088260df3acc951c10076a828..b72dc4253f21ab805fdec5eac7fc46bee50c88db 100644 (file)
@@ -245,7 +245,7 @@ multilib_src_install_all() {
 
 pkg_postinst() {
        elog "You can find additional opt-viewer utility scripts in:"
-       elog "  ${EROOT}/usr/lib/llvm/${SLOT}/share/opt-viewer"
+       elog "  ${EROOT%/}/usr/lib/llvm/${SLOT}/share/opt-viewer"
        elog "To use these scripts, you will need Python 2.7 along with the following"
        elog "packages:"
        elog "  dev-python/pygments (for opt-viewer)"
index 014336a4f3ebf4964a988ac37badb6573e78bbcc..eb43281d3111c1efaaab45ce28e667feea7d3000 100644 (file)
@@ -282,7 +282,7 @@ multilib_src_install_all() {
 
 pkg_postinst() {
        elog "You can find additional opt-viewer utility scripts in:"
-       elog "  ${EROOT}/usr/lib/llvm/${SLOT}/share/opt-viewer"
+       elog "  ${EROOT%/}/usr/lib/llvm/${SLOT}/share/opt-viewer"
        elog "To use these scripts, you will need Python 2.7 along with the following"
        elog "packages:"
        elog "  dev-python/pygments (for opt-viewer)"