Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 175173 Details for
Bug 250792
app-shells/bash-completion-20060301-r3 installs script using bash-specific syntax in system-wide profile dir
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix issues with non-bash shells.
bash-completion.sh.patch (text/plain), 863 bytes, created by
Nick Bowler
on 2008-12-13 03:30:25 UTC
(
hide
)
Description:
Patch to fix issues with non-bash shells.
Filename:
MIME Type:
Creator:
Nick Bowler
Created:
2008-12-13 03:30:25 UTC
Size:
863 bytes
patch
obsolete
>--- bash-completion.sh.orig 2008-12-12 22:10:59.000000000 -0500 >+++ bash-completion.sh 2008-12-12 22:27:43.000000000 -0500 >@@ -2,11 +2,15 @@ > # Distributed under the terms of the GNU General Public License, v2 or later > # $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/files/bash-completion,v 1.7 2004/11/12 23:44:04 ka0ttic Exp $ > # >+ >+# Exit if this shell is not bash >+test -n "$BASH_VERSION" || return 0 >+ > # START bash completion -- do not remove this line > bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.} > # interactive shell > if [ "$PS1" ]; then >- if [ $bmajor -eq 2 -a $bminor '>' 04 ] || [ $bmajor -ge 3 ]; then >+ if [ "$bmajor" -eq 2 -a "$bminor" -gt 04 ] || [ "$bmajor" -ge 3 ]; then > [ -f /etc/bash_completion ] && . /etc/bash_completion > if [ -d ~/.bash_completion.d ] ; then > for file in ~/.bash_completion.d/* ; do
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 250792
: 175173