From 57668f2a996a42dae2455fd56acfd8ae75dc1fae Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Thu, 14 Feb 2019 09:37:30 +0100 Subject: [PATCH] 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 --- 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 6402ca718d389..2e33b11f49156 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