Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 143926 Details for
Bug 210645
Patch for bash-completion.eclass to make it ready for eclass-manpages
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bash-completion.eclass.patch
bash-completion.eclass.patch (text/plain), 2.21 KB, created by
mren
on 2008-02-19 00:46:49 UTC
(
hide
)
Description:
bash-completion.eclass.patch
Filename:
MIME Type:
Creator:
mren
Created:
2008-02-19 00:46:49 UTC
Size:
2.21 KB
patch
obsolete
>--- bash-completion.eclass.orig 2008-02-19 01:32:10.000000000 +0100 >+++ bash-completion.eclass 2008-02-19 01:43:35.000000000 +0100 >@@ -1,14 +1,21 @@ >-# Copyright 1999-2005 Gentoo Foundation >+# Copyright 1999-2008 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion.eclass,v 1.16 2005/07/31 12:38:22 ka0ttic Exp $ >+# $Header: $ >+ >+# @ECLASS: bash-completion.eclass >+# @MAINTAINER: >+# shell-tools@gentoo.org. > # >+# Original author: Aaron Walker <ka0ttic@gentoo.org> >+# @BLURB: An Interface for installing contributed bash-completion scripts >+# @DESCRIPTION: > # Simple eclass that provides an interface for installing > # contributed (ie not included in bash-completion proper) > # bash-completion scripts. >-# >-# Author: Aaron Walker <ka0ttic@gentoo.org> >-# >-# Please assign any bug reports to shell-tools@gentoo.org. >+ >+# @ECLASS-VARIABLE: BASH_COMPLETION_NAME >+# @DESCRIPTION: >+# Install the completion script with this name (see also dobashcompletion) > > EXPORT_FUNCTIONS pkg_postinst > >@@ -23,15 +30,16 @@ > ) > )" > >-# dobashcompletion <file> <new file> >-# First arg, <file>, is required and is the location of the bash-completion >+# @FUNCTION: dobashcompletion >+# @USAGE: < file > [ new_file ] >+# @DESCRIPTION: >+# First arg, <file>, is required and is the location of the bash-completion > # script to install. If the variable BASH_COMPLETION_NAME is set in the > # ebuild, dobashcompletion will install <file> as > # /usr/share/bash-completion/$BASH_COMPLETION_NAME. If it is not set, >-# dobashcompletion will check if a second arg ($2) was passed, installing as >+# dobashcompletion will check if a second arg [new_file] was passed, installing as > # the specified name. Failing both these checks, dobashcompletion will > # install the file as /usr/share/bash-completion/${PN}. >- > dobashcompletion() { > [[ -z "$1" ]] && die "usage: dobashcompletion <file> <new file>" > [[ -z "${BASH_COMPLETION_NAME}" ]] && BASH_COMPLETION_NAME="${2:-${PN}}" >@@ -42,6 +50,9 @@ > fi > } > >+# @FUNCTION: bash-completion_pkg_postinst >+# @DESCRIPTION: >+# The bash-completion pkg_postinst function, which is exported > bash-completion_pkg_postinst() { > if useq bash-completion ; then > echo
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 210645
: 143926