From: | "Ali Polatel (hawking)" <hawking@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: python.eclass |
Date: | Fri, 28 Mar 2008 07:12:00 |
Message-Id: | E1Jf8kn-00030k-PM@stork.gentoo.org |
1 | hawking 08/03/28 07:11:57 |
2 | |
3 | Modified: python.eclass |
4 | Log: |
5 | Add quoting for find, thanks to Yanik Gleyzer, bug 214830 |
6 | |
7 | Revision Changes Path |
8 | 1.34 eclass/python.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/python.eclass?rev=1.34&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/python.eclass?rev=1.34&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/python.eclass?r1=1.33&r2=1.34 |
13 | |
14 | Index: python.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/python.eclass,v |
17 | retrieving revision 1.33 |
18 | retrieving revision 1.34 |
19 | diff -u -r1.33 -r1.34 |
20 | --- python.eclass 28 Feb 2008 20:20:32 -0000 1.33 |
21 | +++ python.eclass 28 Mar 2008 07:11:57 -0000 1.34 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2008 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.33 2008/02/28 20:20:32 dev-zero Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.34 2008/03/28 07:11:57 hawking Exp $ |
27 | |
28 | # @ECLASS: python.eclass |
29 | # @MAINTAINER: |
30 | @@ -214,7 +214,7 @@ |
31 | |
32 | for path in ${SEARCH_PATH}; do |
33 | einfo "Cleaning orphaned Python bytecode from ${path} .." |
34 | - for obj in $(find ${path} -name *.py[co]); do |
35 | + for obj in $(find ${path} -name '*.py[co]'); do |
36 | src_py="${obj%[co]}" |
37 | if [ ! -f "${src_py}" ]; then |
38 | einfo "Purging ${src_py}[co]" |
39 | |
40 | |
41 | |
42 | -- |
43 | gentoo-commits@l.g.o mailing list |