commit:     4f8eab39bc0f6077a7059d6f5030f327dc5c87ee
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 27 06:42:24 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep 27 06:42:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f8eab39

sys-devel/llvm: Fix EROOT trailing slash, spotted by Hummer12007

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-devel/llvm/llvm-7.0.0.ebuild    | 2 +-
 sys-devel/llvm/llvm-7.0.9999.ebuild | 2 +-
 sys-devel/llvm/llvm-9999.ebuild     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-devel/llvm/llvm-7.0.0.ebuild b/sys-devel/llvm/llvm-7.0.0.ebuild
index ef47128aa16..08b89718f24 100644
--- a/sys-devel/llvm/llvm-7.0.0.ebuild
+++ b/sys-devel/llvm/llvm-7.0.0.ebuild
@@ -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)"

diff --git a/sys-devel/llvm/llvm-7.0.9999.ebuild 
b/sys-devel/llvm/llvm-7.0.9999.ebuild
index b97e3a6b47b..b72dc4253f2 100644
--- a/sys-devel/llvm/llvm-7.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-7.0.9999.ebuild
@@ -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)"

diff --git a/sys-devel/llvm/llvm-9999.ebuild b/sys-devel/llvm/llvm-9999.ebuild
index 014336a4f3e..eb43281d311 100644
--- a/sys-devel/llvm/llvm-9999.ebuild
+++ b/sys-devel/llvm/llvm-9999.ebuild
@@ -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)"

Reply via email to