1 |
darkside 09/04/09 04:40:52 |
2 |
|
3 |
Modified: bash-completion-1.0.ebuild |
4 |
Log: |
5 |
whitespace removal |
6 |
(Portage version: 2.1.6.11/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 app-shells/bash-completion/bash-completion-1.0.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/bash-completion/bash-completion-1.0.ebuild?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/bash-completion/bash-completion-1.0.ebuild?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/bash-completion/bash-completion-1.0.ebuild?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: bash-completion-1.0.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-1.0.ebuild,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- bash-completion-1.0.ebuild 9 Apr 2009 04:38:24 -0000 1.1 |
22 |
+++ bash-completion-1.0.ebuild 9 Apr 2009 04:40:52 -0000 1.2 |
23 |
@@ -1,6 +1,6 @@ |
24 |
# Copyright 1999-2009 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-1.0.ebuild,v 1.1 2009/04/09 04:38:24 darkside Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-1.0.ebuild,v 1.2 2009/04/09 04:40:52 darkside Exp $ |
28 |
|
29 |
EAPI="2" |
30 |
|
31 |
@@ -30,7 +30,7 @@ |
32 |
|
33 |
src_install() { |
34 |
emake DESTDIR="${D}" install || die |
35 |
- |
36 |
+ |
37 |
# Upstream will soon be splitting this for us. |
38 |
# split /etc/bash_completion into three parts: |
39 |
# 1. /usr/share/bash-completion/.pre -- hidden from eselect |
40 |
@@ -38,20 +38,20 @@ |
41 |
# 3. /usr/share/bash-completion/.post -- hidden from eselect |
42 |
dodir /usr/share/bash-completion |
43 |
awk -v D="$D" ' |
44 |
- BEGIN { out=".pre" } |
45 |
- /^# A lot of the following one-liners/ { out="base" } |
46 |
- /^# start of section containing completion functions called by other functions/ { out=".pre" } |
47 |
- /^# start of section containing completion functions for bash built-ins/ { out="base" } |
48 |
- /^# source completion directory/ { out="" } |
49 |
- /^unset -f have/ { out=".post" } |
50 |
- out != "" { print > D"/usr/share/bash-completion/"out }' \ |
51 |
+ BEGIN { out=".pre" } |
52 |
+ /^# A lot of the following one-liners/ { out="base" } |
53 |
+ /^# start of section containing completion functions called by other functions/ { out=".pre" } |
54 |
+ /^# start of section containing completion functions for bash built-ins/ { out="base" } |
55 |
+ /^# source completion directory/ { out="" } |
56 |
+ /^unset -f have/ { out=".post" } |
57 |
+ out != "" { print > D"/usr/share/bash-completion/"out }' \ |
58 |
bash_completion || die "failed to split bash_completion" |
59 |
|
60 |
dodir /etc/profile.d |
61 |
cp bash_completion.sh "${D}/etc/profile.d/" || die "cp failed" |
62 |
|
63 |
dodoc AUTHORS CHANGES README TODO || die "dodocs failes" |
64 |
- |
65 |
+ |
66 |
# bug 146726 |
67 |
rm "${D}/etc/bash_completion.d/svk" || die "rm failed" |