commit:     57668f2a996a42dae2455fd56acfd8ae75dc1fae
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 14 08:37:30 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Feb 14 08:37:59 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57668f2a

app-shells/zsh: fix zprofile for Prefix

Closes: https://bugs.gentoo.org/677880
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-shells/zsh/files/zprofile-4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-shells/zsh/files/zprofile-4 b/app-shells/zsh/files/zprofile-4
index 6402ca718d3..2e33b11f491 100644
--- a/app-shells/zsh/files/zprofile-4
+++ b/app-shells/zsh/files/zprofile-4
@@ -25,7 +25,7 @@ umask 022
 if [ "$EUID" = "0" ] || [ "$USER" = "root" ] ; then
        # Check to make sure ROOTPATH is sane before we use it.
        # https://bugs.gentoo.org/656400
-       if [[ :${ROOTPATH}: == *:@GENTOO_PORTAGE_EPREFIX@/usr/sbin:* ]]; then
+       if [[ :${ROOTPATH}: == *:/usr/sbin:* ]]; then
                PATH="${ROOTPATH}"
        fi
 fi

Reply via email to