diff options
author | Fabian Groffen <grobian@gentoo.org> | 2019-02-14 09:37:30 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2019-02-14 09:37:59 +0100 |
commit | 57668f2a996a42dae2455fd56acfd8ae75dc1fae (patch) | |
tree | bb82f03e2df6a6b18837968ab3c74cca93a60ce4 | |
parent | games-util/wit: version bump to 3.02a (diff) | |
download | gentoo-57668f2a996a42dae2455fd56acfd8ae75dc1fae.tar.gz gentoo-57668f2a996a42dae2455fd56acfd8ae75dc1fae.tar.bz2 gentoo-57668f2a996a42dae2455fd56acfd8ae75dc1fae.zip |
app-shells/zsh: fix zprofile for Prefix
Closes: https://bugs.gentoo.org/677880
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
-rw-r--r-- | app-shells/zsh/files/zprofile-4 | 2 |
1 files changed, 1 insertions, 1 deletions
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 |