From: Fabian Groffen Date: Thu, 14 Feb 2019 08:37:30 +0000 (+0100) Subject: app-shells/zsh: fix zprofile for Prefix X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=57668f2a996a42dae2455fd56acfd8ae75dc1fae;p=gentoo.git app-shells/zsh: fix zprofile for Prefix Closes: https://bugs.gentoo.org/677880 Signed-off-by: Fabian Groffen Package-Manager: Portage-2.3.51, Repoman-2.3.11 --- diff --git a/app-shells/zsh/files/zprofile-4 b/app-shells/zsh/files/zprofile-4 index 6402ca718d38..2e33b11f4915 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