Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 173776 Details for
Bug 249271
Version bump: app-shells/bash-completion-20080705
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
20080705/06_all_no_redefine_readonly_variables.patch
06_all_no_redefine_readonly_variables.patch (text/plain), 867 bytes, created by
Santiago M. Mola (RETIRED)
on 2008-11-29 16:31:42 UTC
(
hide
)
Description:
20080705/06_all_no_redefine_readonly_variables.patch
Filename:
MIME Type:
Creator:
Santiago M. Mola (RETIRED)
Created:
2008-11-29 16:31:42 UTC
Size:
867 bytes
patch
obsolete
>Source: Adapted from Exherbo's by Bo Ãrsted Andresen <zlin@exherbo.org> >Upstream: No. >Reason: Avoid error messages such as: > bash: BASH_COMPLETION: readonly variable > > >--- bash_completion 2008-11-23 22:45:42.000000000 +0100 >+++ bash_completion 2008-11-23 23:33:01.000000000 +0100 >@@ -39,8 +39,13 @@ > > # Alter the following to reflect the location of this file. > # >-[ -n "$BASH_COMPLETION" ] || BASH_COMPLETION=/etc/bash_completion >-[ -n "$BASH_COMPLETION_DIR" ] || BASH_COMPLETION_DIR=/etc/bash_completion.d >+# Don't try to redefine readonly variables >+if [[ -z ${BASH_COMPLETION} ]]; then >+ BASH_COMPLETION="${BASH_COMPLETION:-/usr/share/bash-completion/base}" >+fi >+if [[ -z ${BASH_COMPLETION_DIR} ]]; then >+ BASH_COMPLETION_DIR="${BASH_COMPLETION_DIR:=/etc/bash_completion.d}" >+fi > readonly BASH_COMPLETION BASH_COMPLETION_DIR > > # Set a couple of useful vars
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 249271
:
173767
|
173769
|
173770
|
173772
|
173773
|
173775
| 173776 |
173777