Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 75246 Details for
Bug 116232
/etc/profile spits out errors in zsh if /etc/profile.d doesnt exist
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
profile.d-nonexistant.patch
profile.d-nonexistant.patch (text/plain), 441 bytes, created by
Saleem Abdulrasool (RETIRED)
on 2005-12-20 21:39:16 UTC
(
hide
)
Description:
profile.d-nonexistant.patch
Filename:
MIME Type:
Creator:
Saleem Abdulrasool (RETIRED)
Created:
2005-12-20 21:39:16 UTC
Size:
441 bytes
patch
obsolete
>--- /etc/profile 2005-12-20 21:09:44.000000000 -0600 >+++ /etc/profile 2005-12-20 23:33:02.000000000 -0600 >@@ -57,9 +57,11 @@ > PS1="`whoami`@`uname -n | cut -f1 -d.` \$ " > fi > >-for sh in /etc/profile.d/*.sh ; do >- if [ -r "$sh" ] ; then >- . "$sh" >- fi >-done >-unset sh >+if [[ -e /etc/profile.d && -d /etc/profile.d ]] ; then >+ for sh in /etc/profile.d/*.sh ; do >+ if [ -r "$sh" ] ; then >+ . "$sh" >+ fi >+ done >+ unset sh >+fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 116232
: 75246