net-misc/openssh: Fixup some minor CI complaints in 8.1_p1
authorPatrick McLean <chutzpah@gentoo.org>
Fri, 11 Oct 2019 23:53:05 +0000 (16:53 -0700)
committerPatrick McLean <chutzpah@gentoo.org>
Fri, 11 Oct 2019 23:53:05 +0000 (16:53 -0700)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
net-misc/openssh/openssh-8.1_p1.ebuild

index edc1b5697eee6270e15187c9fc9a6868b37e2521..f5663b7bd2cd9c947be607f25f66194488fdc782 100644 (file)
@@ -101,9 +101,9 @@ pkg_pretend() {
        fi
 
        # Make sure people who are using tcp wrappers are notified of its removal. #531156
-       if grep -qs '^ *sshd *:' "${EROOT%/}"/etc/hosts.{allow,deny} ; then
+       if grep -qs '^ *sshd *:' "${EROOT}"/etc/hosts.{allow,deny} ; then
                ewarn "Sorry, but openssh no longer supports tcp-wrappers, and it seems like"
-               ewarn "you're trying to use it.  Update your ${EROOT}etc/hosts.{allow,deny} please."
+               ewarn "you're trying to use it.  Update your ${EROOT}/etc/hosts.{allow,deny} please."
        fi
 }