games-strategy/openra: [QA] Fix UnnecessarySlashStrip
authorDavid Seifert <soap@gentoo.org>
Sat, 8 Feb 2020 16:22:18 +0000 (17:22 +0100)
committerDavid Seifert <soap@gentoo.org>
Sat, 8 Feb 2020 16:22:18 +0000 (17:22 +0100)
Signed-off-by: David Seifert <soap@gentoo.org>
games-strategy/openra/openra-20190314.ebuild

index b35f7f76047ede218d483ea0f241a3a715472223..0d1505471e2f8630cc613e6ef5a5190ad08b7813 100644 (file)
@@ -156,7 +156,7 @@ pkg_config() {
        cert-sync --quiet "${EROOT}"/etc/ssl/certs/ca-certificates.crt
        eend $?
 
-       if [[ -n ${ROOT%/} ]]; then
+       if [[ -n ${ROOT} ]]; then
                echo
                ewarn "Mono's cert-sync cannot write to your ROOT system so you must manually"
                ewarn "copy the certificates from ${BROOT}/usr/share/.mono to ${EROOT}/usr/share/.mono."