1 |
zmedico 10/04/30 00:01:06 |
2 |
|
3 |
Modified: ChangeLog profile.bashrc |
4 |
Log: |
5 |
29 Apr 2010; Zac Medico <zmedico@g.o> profile.bashrc: |
6 |
Skip /etc/portage/env code if PM_EBUILD_HOOK_DIR is set since this means |
7 |
that /etc/portage/env is supported by the package manager: |
8 |
http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=ef2024a33be93a256beef28c1423ba1fb706383d |
9 |
|
10 |
Revision Changes Path |
11 |
1.141 profiles/base/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/base/ChangeLog?rev=1.141&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/base/ChangeLog?rev=1.141&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/base/ChangeLog?r1=1.140&r2=1.141 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v |
20 |
retrieving revision 1.140 |
21 |
retrieving revision 1.141 |
22 |
diff -u -r1.140 -r1.141 |
23 |
--- ChangeLog 29 Apr 2010 09:23:39 -0000 1.140 |
24 |
+++ ChangeLog 30 Apr 2010 00:01:05 -0000 1.141 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for Gentoo base-profile |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v 1.140 2010/04/29 09:23:39 pva Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v 1.141 2010/04/30 00:01:05 zmedico Exp $ |
30 |
+ |
31 |
+ 29 Apr 2010; Zac Medico <zmedico@g.o> profile.bashrc: |
32 |
+ Skip /etc/portage/env code if PM_EBUILD_HOOK_DIR is set since this means |
33 |
+ that /etc/portage/env is supported by the package manager: |
34 |
+ http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=ef202 |
35 |
+ 4a33be93a256beef28c1423ba1fb706383d |
36 |
|
37 |
29 Apr 2010; Peter Volkov <pva@g.o> make.defaults: |
38 |
Add XTABLES_ADDONS as discussed in -dev on 18.01.2010 (but dropped |
39 |
|
40 |
|
41 |
|
42 |
1.6 profiles/base/profile.bashrc |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/base/profile.bashrc?rev=1.6&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/base/profile.bashrc?rev=1.6&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/base/profile.bashrc?r1=1.5&r2=1.6 |
47 |
|
48 |
Index: profile.bashrc |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/profiles/base/profile.bashrc,v |
51 |
retrieving revision 1.5 |
52 |
retrieving revision 1.6 |
53 |
diff -u -r1.5 -r1.6 |
54 |
--- profile.bashrc 24 Jan 2010 17:58:52 -0000 1.5 |
55 |
+++ profile.bashrc 30 Apr 2010 00:01:05 -0000 1.6 |
56 |
@@ -1,11 +1,17 @@ |
57 |
-# Copyright 2006-2009 Gentoo Foundation |
58 |
+# Copyright 2006-2010 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/profiles/base/profile.bashrc,v 1.5 2010/01/24 17:58:52 dev-zero Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/profiles/base/profile.bashrc,v 1.6 2010/04/30 00:01:05 zmedico Exp $ |
62 |
|
63 |
-for conf in ${PN} ${PN}-${PV} ${PN}-${PV}-${PR}; do |
64 |
- [[ -r ${PORTAGE_CONFIGROOT}/etc/portage/env/${CATEGORY}/${conf} ]] \ |
65 |
- && . ${PORTAGE_CONFIGROOT}/etc/portage/env/${CATEGORY}/${conf} |
66 |
-done |
67 |
+# Skip this if PM_EBUILD_HOOK_DIR is set since this means that |
68 |
+# /etc/portage/env is supported by the package manager: |
69 |
+# http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=ef2024a33be93a256beef28c1423ba1fb706383d |
70 |
+if [[ -z $PM_EBUILD_HOOK_DIR && \ |
71 |
+ -d ${PORTAGE_CONFIGROOT}/etc/portage/env ]] ; then |
72 |
+ for conf in ${PN} ${PN}-${PV} ${PN}-${PV}-${PR}; do |
73 |
+ [[ -r ${PORTAGE_CONFIGROOT}/etc/portage/env/${CATEGORY}/${conf} ]] \ |
74 |
+ && . ${PORTAGE_CONFIGROOT}/etc/portage/env/${CATEGORY}/${conf} |
75 |
+ done |
76 |
+fi |
77 |
|
78 |
if ! declare -F elog >/dev/null ; then |
79 |
elog() { |