summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2019-02-14 09:37:30 +0100
committerFabian Groffen <grobian@gentoo.org>2019-02-14 09:37:59 +0100
commit57668f2a996a42dae2455fd56acfd8ae75dc1fae (patch)
treebb82f03e2df6a6b18837968ab3c74cca93a60ce4 /app-shells
parentgames-util/wit: version bump to 3.02a (diff)
downloadgentoo-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
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/zsh/files/zprofile-42
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