1 |
mgorny 13/10/01 18:06:07 |
2 |
|
3 |
Modified: ChangeLog multilib-build.eclass |
4 |
Log: |
5 |
Clean up the splitting code wrt suggestions from Ulrich Mueller. |
6 |
|
7 |
Revision Changes Path |
8 |
1.1004 eclass/ChangeLog |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1004&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1004&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1003&r2=1.1004 |
13 |
|
14 |
Index: ChangeLog |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v |
17 |
retrieving revision 1.1003 |
18 |
retrieving revision 1.1004 |
19 |
diff -u -r1.1003 -r1.1004 |
20 |
--- ChangeLog 1 Oct 2013 17:42:38 -0000 1.1003 |
21 |
+++ ChangeLog 1 Oct 2013 18:06:06 -0000 1.1004 |
22 |
@@ -1,6 +1,9 @@ |
23 |
# ChangeLog for eclass directory |
24 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1003 2013/10/01 17:42:38 mgorny Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1004 2013/10/01 18:06:06 mgorny Exp $ |
27 |
+ |
28 |
+ 01 Oct 2013; Michał Górny <mgorny@g.o> multilib-build.eclass: |
29 |
+ Clean up the splitting code wrt suggestions from Ulrich Mueller. |
30 |
|
31 |
01 Oct 2013; Michał Górny <mgorny@g.o> multilib-build.eclass: |
32 |
Split ABIs without altering IFS, to work-around bug in Paludis, bug #486592. |
33 |
|
34 |
|
35 |
|
36 |
1.23 eclass/multilib-build.eclass |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-build.eclass?rev=1.23&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-build.eclass?rev=1.23&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-build.eclass?r1=1.22&r2=1.23 |
41 |
|
42 |
Index: multilib-build.eclass |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v |
45 |
retrieving revision 1.22 |
46 |
retrieving revision 1.23 |
47 |
diff -u -r1.22 -r1.23 |
48 |
--- multilib-build.eclass 1 Oct 2013 17:42:38 -0000 1.22 |
49 |
+++ multilib-build.eclass 1 Oct 2013 18:06:06 -0000 1.23 |
50 |
@@ -1,6 +1,6 @@ |
51 |
# Copyright 1999-2013 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.22 2013/10/01 17:42:38 mgorny Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.23 2013/10/01 18:06:06 mgorny Exp $ |
55 |
|
56 |
# @ECLASS: multilib-build.eclass |
57 |
# @MAINTAINER: |
58 |
@@ -80,10 +80,8 @@ |
59 |
|
60 |
# split on ,; we can't switch IFS for function scope because |
61 |
# paludis is broken (bug #486592), and switching it locally |
62 |
- # for the split is more complex than tricking like this |
63 |
- m_abis=( ${m_abis/,/ } ) |
64 |
- |
65 |
- for m_abi in ${m_abis[@]}; do |
66 |
+ # for the split is more complex than cheating like this |
67 |
+ for m_abi in ${m_abis//,/ }; do |
68 |
if [[ ${m_abi} == ${abi} ]] && use "${m_flag}"; then |
69 |
echo "${abi}" |
70 |
found=1 |