app-misc/screen: [QA] Fix UnnecessarySlashStrip
authorDavid Seifert <soap@gentoo.org>
Sat, 8 Feb 2020 16:21:01 +0000 (17:21 +0100)
committerDavid Seifert <soap@gentoo.org>
Sat, 8 Feb 2020 16:21:01 +0000 (17:21 +0100)
Signed-off-by: David Seifert <soap@gentoo.org>
app-misc/screen/screen-4.7.0.ebuild

index bdc40e9094d1c2d00e10c115e50331a274c76a9f..fd070e2ef5700c8d46bd0983fbc222bdba4444f2 100644 (file)
@@ -145,7 +145,7 @@ pkg_postinst() {
 
        # Add /tmp/screen in case it doesn't exist yet. This should solve
        # problems like bug #508634 where tmpfiles.d isn't in effect.
-       local rundir="${EROOT%/}/tmp/screen"
+       local rundir="${EROOT}/tmp/screen"
        if [[ ! -d ${rundir} ]] ; then
                if use multiuser || use prefix ; then
                        tmpfiles_group="root"