Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 390948 Details for
Bug 531704
app-shells/bash-4.3_p30-r1: prefix changes review
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bashrc-prefix-r1.patch
bashrc-prefix-r1.patch (text/plain), 1.54 KB, created by
Guilherme Amadio
on 2014-12-04 18:44:52 UTC
(
hide
)
Description:
bashrc-prefix-r1.patch
Filename:
MIME Type:
Creator:
Guilherme Amadio
Created:
2014-12-04 18:44:52 UTC
Size:
1.54 KB
patch
obsolete
>--- bashrc-r1 2014-12-04 16:21:37.765632382 -0200 >+++ bashrc-r1 2014-12-04 16:20:51.077393468 -0200 >@@ -1,4 +1,4 @@ >-# /etc/bash/bashrc >+# @GENTOO_PORTAGE_EPREFIX@/etc/bash/bashrc > # > # This file is sourced by all *interactive* bash shells on startup, > # including some apparently interactive shells such as scp and rcp >@@ -48,7 +48,7 @@ > safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM > match_lhs="" > [[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)" >-[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(</etc/DIR_COLORS)" >+[[ -f "@GENTOO_PORTAGE_EPREFIX@"/etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(<"@GENTOO_PORTAGE_EPREFIX@"/etc/DIR_COLORS)" > [[ -z ${match_lhs} ]] \ > && type -P dircolors >/dev/null \ > && match_lhs=$(dircolors --print-database) >@@ -56,12 +56,10 @@ > > if ${use_color} ; then > # Enable colors for ls, etc. Prefer ~/.dir_colors #64489 >- if type -P dircolors >/dev/null ; then >- if [[ -f ~/.dir_colors ]] ; then >- eval $(dircolors -b ~/.dir_colors) >- elif [[ -f /etc/DIR_COLORS ]] ; then >- eval $(dircolors -b /etc/DIR_COLORS) >- fi >+ if [[ -f ~/.dir_colors ]] ; then >+ eval $("@GENTOO_PORTAGE_EPREFIX@"/usr/bin/dircolors -b ~/.dir_colors); >+ elif [[ -f "@GENTOO_PORTAGE_EPREFIX@"/etc/DIR_COLORS ]] ; then >+ eval $("@GENTOO_PORTAGE_EPREFIX@"/usr/bin/dircolors -b "@GENTOO_PORTAGE_EPREFIX@"/etc/DIR_COLORS) > fi > > if [[ ${EUID} == 0 ]] ; then >@@ -84,7 +82,7 @@ > fi > fi > >-for sh in /etc/bash/bashrc.d/* ; do >+for sh in "@GENTOO_PORTAGE_EPREFIX@"/etc/bash/bashrc.d/* ; do > [[ -r ${sh} ]] && source "${sh}" > done >
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 531704
:
390946
| 390948 |
390964
|
390966