projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94adff2
)
app-shells/zsh: fix zprofile for Prefix
author
Fabian Groffen
<grobian@gentoo.org>
Thu, 14 Feb 2019 08:37:30 +0000
(09:37 +0100)
committer
Fabian Groffen
<grobian@gentoo.org>
Thu, 14 Feb 2019 08:37:59 +0000
(09:37 +0100)
Closes: https://bugs.gentoo.org/677880
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
app-shells/zsh/files/zprofile-4
patch
|
blob
|
history
diff --git
a/app-shells/zsh/files/zprofile-4
b/app-shells/zsh/files/zprofile-4
index 6402ca718d389ac61c62f258250a48a3ab889d92..2e33b11f4915659e6374e3fe858a976394b4293b 100644
(file)
--- 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